]> Creatis software - clitk.git/blobdiff - itk/clitkExtractImageFilter.h
corrections...
[clitk.git] / itk / clitkExtractImageFilter.h
index aae8332e04109089474228ae767522fe735d2376..ce31fd9c915ebdb12f552f8e58809b312ba26463 100644 (file)
@@ -94,8 +94,12 @@ protected:
                                                  const OutputImageRegionType &srcRegion);
 
 
-  void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
-                            itk::ThreadIdType threadId );
+#if ITK_VERSION_MAJOR >= 4
+  void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId );
+#else
+  void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId );
+#endif
+
   InputImageRegionType m_ExtractionRegion;
   OutputImageRegionType m_OutputImageRegion;