changeset 1288:d8c42e5e5843 bugs/2020-02-invisible-slice

Fixed clang errors
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 14 Feb 2020 15:30:36 +0100
parents 8e82fdc6200e
children 343aa1dfaa90
files Framework/Toolbox/ImageToolbox.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Toolbox/ImageToolbox.cpp	Fri Feb 14 15:00:54 2020 +0100
+++ b/Framework/Toolbox/ImageToolbox.cpp	Fri Feb 14 15:30:36 2020 +0100
@@ -42,11 +42,11 @@
     using Orthanc::ImageAccessor;
     using Orthanc::PixelFormat;
 
-    template<typename PixelFormat Format>
+    template<typename Orthanc::PixelFormat Format>
     class PixelBinner
     {
       // "PixelBinner requires an arithmetic (integer or floating-point) pixel format"
-      typedef typename PixelTraits<Format>::PixelType PixelType;
+      typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
       BOOST_STATIC_ASSERT(boost::is_arithmetic<PixelType>::value);
     
     public: