Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyMaskLayer.h @ 1308:adf234ecaa00 broker
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 10:21:54 +0100 |
parents | 257f2c9a02ac |
children | 379c00958553 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyMaskLayer.h Wed Mar 04 10:07:37 2020 +0100 +++ b/Framework/Radiography/RadiographyMaskLayer.h Wed Mar 04 10:21:54 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) :