diff Framework/Layers/GrayscaleFrameRenderer.h @ 378:814fa32e2fcc

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 06 Nov 2018 14:21:02 +0100
parents c80b5bddf86b
children 17d54c028805
line wrap: on
line diff
--- a/Framework/Layers/GrayscaleFrameRenderer.h	Mon Nov 05 16:18:27 2018 +0100
+++ b/Framework/Layers/GrayscaleFrameRenderer.h	Tue Nov 06 14:21:02 2018 +0100
@@ -38,7 +38,7 @@
     virtual CairoSurface* GenerateDisplay(const RenderStyle& style);
 
   public:
-    GrayscaleFrameRenderer(Orthanc::ImageAccessor* frame,    // Takes ownership
+    GrayscaleFrameRenderer(const Orthanc::ImageAccessor& frame,
                            const DicomFrameConverter& converter,
                            const CoordinateSystem3D& frameSlice,
                            double pixelSpacingX,