From: tbaudier Date: Fri, 7 Sep 2018 08:44:20 +0000 (+0200) Subject: Remove throw to avoid warning with c++11 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=commitdiff_plain;h=5edaee8974e6ab03d37a3038cf8f8bf5e287655d Remove throw to avoid warning with c++11 --- diff --git a/itk/clitkBackProjectImageFilter.h b/itk/clitkBackProjectImageFilter.h index 8ff8def..cb68779 100644 --- a/itk/clitkBackProjectImageFilter.h +++ b/itk/clitkBackProjectImageFilter.h @@ -210,7 +210,7 @@ namespace clitk void SetOutputParametersFromImage( const OutputImageConstPointer image ); - void Initialize(void) throw (itk::ExceptionObject); + void Initialize(void); protected: diff --git a/itk/clitkBackProjectImageFilter.txx b/itk/clitkBackProjectImageFilter.txx index f981291..e643226 100644 --- a/itk/clitkBackProjectImageFilter.txx +++ b/itk/clitkBackProjectImageFilter.txx @@ -190,7 +190,7 @@ namespace clitk template void BackProjectImageFilter - ::Initialize( void ) throw (itk::ExceptionObject) + ::Initialize( void ) { //Change the origin of the 2D input typename InputImageType::ConstPointer inputPtr=this->GetInput();