X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkForwardWarpImageFilter.h;h=ec46f0ca8fa97a11590c8a0a0c750b5d4e7a809a;hb=a523f5be1e221995c0d4d29a0077b5e8b984c96d;hp=7efac8fc8268291bd3564fb0a1a03045a9744cbb;hpb=4480e52377d1150ca781c96e359b3164b65c3503;p=clitk.git diff --git a/itk/clitkForwardWarpImageFilter.h b/itk/clitkForwardWarpImageFilter.h index 7efac8f..ec46f0c 100644 --- a/itk/clitkForwardWarpImageFilter.h +++ b/itk/clitkForwardWarpImageFilter.h @@ -25,7 +25,11 @@ #include "itkImageRegionIterator.h" #include "itkImageRegionIteratorWithIndex.h" #include "itkNumericTraits.h" +#if ITK_VERSION_MAJOR <= 4 #include "itkSimpleFastMutexLock.h" +#else +#include +#endif namespace clitk { @@ -56,7 +60,9 @@ namespace clitk //Some other typedefs typedef double CoordRepType; typedef itk::Image WeightsImageType; +#if ITK_VERSION_MAJOR <= 4 typedef itk::Image MutexImageType; +#endif /** Point type */ typedef itk::Point PointType;