Mercurial > hg > orthanc-wsi
diff Framework/Targets/OrthancTarget.h @ 199:a1c265cb2174
replacing deprecated std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 16:29:41 +0200 |
parents | b0bd22077cd8 |
children | 1e864138f0da |
line wrap: on
line diff
--- a/Framework/Targets/OrthancTarget.h Mon Jul 06 16:17:09 2020 +0200 +++ b/Framework/Targets/OrthancTarget.h Mon Jul 06 16:29:41 2020 +0200 @@ -24,6 +24,7 @@ #include "IFileTarget.h" #include "../../Resources/Orthanc/Stone/IOrthancConnection.h" +#include <Compatibility.h> // For std::unique_ptr #include <WebServiceParameters.h> #include <memory> @@ -33,7 +34,7 @@ class OrthancTarget : public IFileTarget { private: - std::auto_ptr<OrthancStone::IOrthancConnection> orthanc_; + std::unique_ptr<OrthancStone::IOrthancConnection> orthanc_; bool first_; public: