Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.h @ 3712:2a170a8f1faf
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:32:45 +0100 |
parents | 94f4a18a79cc |
children | aaaa442bfe39 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Fri Feb 28 13:23:11 2020 +0100 +++ b/OrthancServer/ServerIndex.h Mon Mar 02 15:32:45 2020 +0100 @@ -65,14 +65,14 @@ boost::thread flushThread_; boost::thread unstableResourcesMonitorThread_; - std::auto_ptr<Listener> listener_; + std::unique_ptr<Listener> listener_; IDatabaseWrapper& db_; LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; uint64_t maximumStorageSize_; unsigned int maximumPatients_; bool overwrite_; - std::auto_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; + std::unique_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; static void FlushThread(ServerIndex* that, unsigned int threadSleep);