]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_Contour.h
Compilation error related to GDCM-2
[clitk.git] / common / clitkDicomRT_Contour.h
index 91d75d6ffb411be64962f2091527a1e169428372..78a5bfde6519030fa4393eb0247a87319bb37047 100644 (file)
@@ -68,7 +68,11 @@ protected:
   ///Z location of the contour
   double mZ;
   
+#if GDCM_MAJOR_VERSION == 2
   gdcm::Item * mItem;
+#else
+  gdcm::SQItem * mItem;
+#endif
 
 private:
   DicomRT_Contour();