X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkForwardWarpImageFilter.h;h=ec46f0ca8fa97a11590c8a0a0c750b5d4e7a809a;hb=1c6241402b25efea0052f0464be9a494e761b19e;hp=7efac8fc8268291bd3564fb0a1a03045a9744cbb;hpb=7bcf6cdd7f0962768ce55ae0ed62d4830d2a2c0b;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;