]> Creatis software - clitk.git/blobdiff - itk/clitkBackProjectImageFilter.h
Ensure compatibility with ITK < 4.12 for throw exception
[clitk.git] / itk / clitkBackProjectImageFilter.h
index 0b905585e524f342c24925671f14e46b6d465323..9ffaffbeb3521ee85a092a0cb56ef2e6495b016f 100644 (file)
@@ -210,7 +210,11 @@ namespace clitk
     void SetOutputParametersFromImage( const OutputImageConstPointer  image );
 
 
+#if ( ( ITK_VERSION_MAJOR == 4 ) && ( ITK_VERSION_MINOR > 12 ) || ( ITK_VERSION_MAJOR > 4 ))
+    void Initialize(void);
+#else
     void Initialize(void) throw (itk::ExceptionObject);
+#endif
 
   protected:
 
@@ -243,7 +247,6 @@ namespace clitk
   
     // Threaded Generate Data
     void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId );
-
  
     //------------------------------------------------
     //Member data