Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 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 | 643b5ee86f92 |
children | aaaa442bfe39 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Fri Feb 28 13:23:11 2020 +0100 +++ b/OrthancServer/ServerIndex.cpp Mon Mar 02 15:32:45 2020 +0100 @@ -241,7 +241,7 @@ { private: ServerIndex& index_; - std::auto_ptr<IDatabaseWrapper::ITransaction> transaction_; + std::unique_ptr<IDatabaseWrapper::ITransaction> transaction_; bool isCommitted_; public: