Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerIndex.h @ 4590:4a0bf1019335 db-changes
simplification of ServerIndex::Listener as ServerIndex::TransactionContext
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Mar 2021 16:04:09 +0100 |
parents | 888868a5dc4e |
children | f7d5372b59b3 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.h Fri Mar 12 15:33:47 2021 +0100 +++ b/OrthancServer/Sources/ServerIndex.h Fri Mar 12 16:04:09 2021 +0100 @@ -45,8 +45,8 @@ class ServerIndex : public StatelessDatabaseOperations { private: + class TransactionContext; class TransactionContextFactory; - class Listener; class UnstableResourcePayload; bool done_; @@ -54,7 +54,6 @@ boost::thread flushThread_; boost::thread unstableResourcesMonitorThread_; - std::unique_ptr<Listener> listener_; LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; uint64_t maximumStorageSize_;