Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 4588:94147ce2f097 db-changes
fix build on os x
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Mar 2021 17:15:01 +0100 |
parents | 888868a5dc4e |
children | bec74e29f86b |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Wed Mar 10 15:59:03 2021 +0100 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.h Wed Mar 10 17:15:01 2021 +0100 @@ -45,7 +45,7 @@ { class DatabaseLookup; class ParsedDicomFile; - class ServerIndexChange; + struct ServerIndexChange; class StatelessDatabaseOperations : public boost::noncopyable { @@ -408,7 +408,7 @@ boost::mutex databaseMutex_; // TODO - REMOVE std::unique_ptr<ITransactionContextFactory> factory_; unsigned int maxRetries_; - std::unique_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; + boost::shared_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; // "shared_ptr" because of PImpl bool hasFlushToDisk_; void NormalizeLookup(std::vector<DatabaseConstraint>& target,