diff Framework/Scene2D/InfoPanelSceneLayer.h @ 1308:adf234ecaa00 broker

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 04 Mar 2020 10:21:54 +0100
parents 8a0a62189f46
children be17fed8c7c5
line wrap: on
line diff
--- a/Framework/Scene2D/InfoPanelSceneLayer.h	Wed Mar 04 10:07:37 2020 +0100
+++ b/Framework/Scene2D/InfoPanelSceneLayer.h	Wed Mar 04 10:21:54 2020 +0100
@@ -24,6 +24,7 @@
 #include "ISceneLayer.h"
 #include "../StoneEnumerations.h"
 
+#include <Core/Compatibility.h>
 #include <Core/Images/ImageAccessor.h>
 
 #include <memory>
@@ -33,7 +34,7 @@
   class InfoPanelSceneLayer : public ISceneLayer
   {
   private:
-    std::auto_ptr<Orthanc::ImageAccessor>  texture_;
+    std::unique_ptr<Orthanc::ImageAccessor>  texture_;
     BitmapAnchor                           anchor_;
     bool                                   isLinearInterpolation_;