Lines 39-45
Link Here
|
39 |
shared_ptr<Library> Library::ourInstance; |
39 |
shared_ptr<Library> Library::ourInstance; |
40 |
const size_t Library::MaxRecentListSize = 10; |
40 |
const size_t Library::MaxRecentListSize = 10; |
41 |
|
41 |
|
42 |
Library::Library &Library::Instance() { |
42 |
Library &Library::Instance() { |
43 |
if (ourInstance.isNull()) { |
43 |
if (ourInstance.isNull()) { |
44 |
ourInstance = new Library(); |
44 |
ourInstance = new Library(); |
45 |
} |
45 |
} |