X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkBackProjectImageFilter.txx;h=b1f84e260426db6becc2a0261be699742ee759da;hb=b14e05d38fa7c7093a22673adebce86b97d69fa0;hp=9091f0d3beb789e4ae9bec96ed760f95588b10fb;hpb=7f7c290c75d4917446f8751856ae7d450f58a6f0;p=clitk.git diff --git a/itk/clitkBackProjectImageFilter.txx b/itk/clitkBackProjectImageFilter.txx index 9091f0d..b1f84e2 100644 --- a/itk/clitkBackProjectImageFilter.txx +++ b/itk/clitkBackProjectImageFilter.txx @@ -303,7 +303,11 @@ namespace clitk template void BackProjectImageFilter - ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ) +#if ITK_VERSION_MAJOR >= 4 + ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ) +#else + ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, int threadId ) +#endif { //Projection pointer InputImageConstPointer inputPtr=this->GetInput();