diff UnitTestsSources/ImageToolboxTests.cpp @ 1296:86400fa16091

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Feb 2020 15:25:49 +0100
parents ddb6676bbcbf
children 8a0a62189f46
line wrap: on
line diff
--- a/UnitTestsSources/ImageToolboxTests.cpp	Fri Feb 21 15:27:42 2020 +0100
+++ b/UnitTestsSources/ImageToolboxTests.cpp	Sun Feb 23 15:25:49 2020 +0100
@@ -136,7 +136,7 @@
   std::auto_ptr<Orthanc::Image> image(new Orthanc::Image(
     Format, W, H, false));
 
-  typedef Orthanc::PixelTraits<Format>::PixelType PixelType;
+  typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
 
   PixelType pixValue = 0;
 
@@ -206,7 +206,7 @@
   std::auto_ptr<Orthanc::Image> image(new Orthanc::Image(
     Format, W, H, false));
 
-  typedef Orthanc::PixelTraits<Format>::PixelType PixelType;
+  typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
 
   PixelType pixValue = 0;