Mercurial > hg > orthanc-wsi
diff Framework/Algorithms/PyramidReader.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 | e3cbf890b588 |
children | 1e864138f0da |
line wrap: on
line diff
--- a/Framework/Algorithms/PyramidReader.h Mon Jul 06 16:17:09 2020 +0200 +++ b/Framework/Algorithms/PyramidReader.h Mon Jul 06 16:29:41 2020 +0200 @@ -24,6 +24,8 @@ #include "../Inputs/ITiledPyramid.h" #include "../DicomizerParameters.h" +#include <Compatibility.h> // For std::unique_ptr + #include <map> #include <memory> @@ -50,7 +52,7 @@ Cache cache_; - std::auto_ptr<Orthanc::ImageAccessor> outside_; + std::unique_ptr<Orthanc::ImageAccessor> outside_; Orthanc::ImageAccessor& GetOutsideTile();