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