Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
3709:1f4910999fe7 | 3712:2a170a8f1faf |
---|---|
63 bool done_; | 63 bool done_; |
64 boost::mutex mutex_; | 64 boost::mutex mutex_; |
65 boost::thread flushThread_; | 65 boost::thread flushThread_; |
66 boost::thread unstableResourcesMonitorThread_; | 66 boost::thread unstableResourcesMonitorThread_; |
67 | 67 |
68 std::auto_ptr<Listener> listener_; | 68 std::unique_ptr<Listener> listener_; |
69 IDatabaseWrapper& db_; | 69 IDatabaseWrapper& db_; |
70 LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; | 70 LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_; |
71 | 71 |
72 uint64_t maximumStorageSize_; | 72 uint64_t maximumStorageSize_; |
73 unsigned int maximumPatients_; | 73 unsigned int maximumPatients_; |
74 bool overwrite_; | 74 bool overwrite_; |
75 std::auto_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; | 75 std::unique_ptr<MainDicomTagsRegistry> mainDicomTagsRegistry_; |
76 | 76 |
77 static void FlushThread(ServerIndex* that, | 77 static void FlushThread(ServerIndex* that, |
78 unsigned int threadSleep); | 78 unsigned int threadSleep); |
79 | 79 |
80 static void UnstableResourcesMonitorThread(ServerIndex* that, | 80 static void UnstableResourcesMonitorThread(ServerIndex* that, |