]> Creatis software - clitk.git/blobdiff - itk/clitkBackProjectImageFilter.txx
Remove throw to avoid warning with c++11
[clitk.git] / itk / clitkBackProjectImageFilter.txx
index b1f84e260426db6becc2a0261be699742ee759da..e6432266300f4e6f9017f557a94bda5accfd7b70 100644 (file)
@@ -190,7 +190,7 @@ namespace clitk
   template <class InputImageType, class OutputImageType>
   void 
   BackProjectImageFilter<InputImageType, OutputImageType>
-  ::Initialize( void ) throw (itk::ExceptionObject)
+  ::Initialize( void )
   {
     //Change the origin of the 2D input
     typename  InputImageType::ConstPointer inputPtr=this->GetInput();
@@ -302,12 +302,7 @@ namespace clitk
   //-----------------------------------------------------------------------
   template <class InputImageType, class OutputImageType>
   void 
-  BackProjectImageFilter<InputImageType, OutputImageType>
-#if ITK_VERSION_MAJOR >= 4
-  ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread,  itk::ThreadIdType threadId )
-#else
-  ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread,  int threadId )
-#endif
+  BackProjectImageFilter<InputImageType, OutputImageType>::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread,  itk::ThreadIdType threadId )
   {
     //Projection pointer
     InputImageConstPointer inputPtr=this->GetInput();