From 1f04a4f0da7d86fb690a63e35014231f8c94e93a Mon Sep 17 00:00:00 2001 From: Angelos Tzotsos Date: Tue, 12 Nov 2013 19:19:29 +0200 Subject: [PATCH] BUG: missing "this->" causes ITK to fail to build under latest gcc --- .../Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h | 2 +- .../ITK/Code/Algorithms/itkShapeDetectionLevelSetFunction.h | 2 +- Utilities/ITK/Code/Review/itkValuedRegionalMinimaImageFilter.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Utilities/ITK/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h b/Utilities/ITK/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h index b4ddc9d0e9..1e67456168 100644 --- a/Utilities/ITK/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h +++ b/Utilities/ITK/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h @@ -114,7 +114,7 @@ public: virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood, const FloatOffsetType & offset, GlobalDataStruct *gd ) const { - return PropagationSpeed( neighborhood, offset, gd ); + return this->PropagationSpeed( neighborhood, offset, gd ); } /** Set/Get the sigma for the Gaussian kernel used to compute the gradient diff --git a/Utilities/ITK/Code/Algorithms/itkShapeDetectionLevelSetFunction.h b/Utilities/ITK/Code/Algorithms/itkShapeDetectionLevelSetFunction.h index c93e5c3c7d..b6510350ca 100644 --- a/Utilities/ITK/Code/Algorithms/itkShapeDetectionLevelSetFunction.h +++ b/Utilities/ITK/Code/Algorithms/itkShapeDetectionLevelSetFunction.h @@ -103,7 +103,7 @@ public: /** The curvature speed is same as the propagation speed. */ virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood, const FloatOffsetType & offset, GlobalDataStruct *gd ) const - { return PropagationSpeed( neighborhood, offset, gd ); } + { return this->PropagationSpeed( neighborhood, offset, gd ); } virtual void Initialize(const RadiusType &r) { diff --git a/Utilities/ITK/Code/Review/itkValuedRegionalMinimaImageFilter.h b/Utilities/ITK/Code/Review/itkValuedRegionalMinimaImageFilter.h index 523f81f0c9..43bdbd24bf 100644 --- a/Utilities/ITK/Code/Review/itkValuedRegionalMinimaImageFilter.h +++ b/Utilities/ITK/Code/Review/itkValuedRegionalMinimaImageFilter.h @@ -83,7 +83,7 @@ public: protected: ValuedRegionalMinimaImageFilter() { - SetMarkerValue(NumericTraits::max()); + this->SetMarkerValue(NumericTraits::max()); } virtual ~ValuedRegionalMinimaImageFilter() {} -- GitLab