]> Creatis software - clitk.git/blobdiff - itk/clitkBackProjectImageFilter.h
Ensure compatibility with ITK < 4.12 for throw exception
[clitk.git] / itk / clitkBackProjectImageFilter.h
index 8ff8def40ec2cbf344ee7d4bd643d20d4f680623..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: