Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyMaskLayer.h @ 1299:c38c89684d83 broker
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 17:21:24 +0100 |
parents | 68579a31eeb4 |
children | 257f2c9a02ac |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyMaskLayer.h Sun Feb 23 15:32:24 2020 +0100 +++ b/Framework/Radiography/RadiographyMaskLayer.h Mon Mar 02 17:21:24 2020 +0100 @@ -22,8 +22,10 @@ #pragma once #include "RadiographyLayer.h" -#include "Core/Images/Image.h" -#include "Core/Images/ImageProcessing.h" + +#include <Core/Compatibility.h> +#include <Core/Images/Image.h> +#include <Core/Images/ImageProcessing.h> namespace OrthancStone { @@ -38,7 +40,7 @@ mutable bool invalidated_; float foreground_; - mutable std::auto_ptr<Orthanc::ImageAccessor> mask_; + mutable std::unique_ptr<Orthanc::ImageAccessor> mask_; public: RadiographyMaskLayer(const RadiographyScene& scene, const RadiographyDicomLayer& dicomLayer, float foreground) :