From b0012acfa9eaf825e05adabd6eb349f6cc5fa3c9 Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@cnes.fr> Date: Wed, 23 Mar 2016 12:38:39 +0100 Subject: [PATCH] BUG: can't allocate object PointSetAndValuesFunction abstract type --- Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h b/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h index ef4a9cbe22..72865167f4 100644 --- a/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h +++ b/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h @@ -46,11 +46,8 @@ public: typedef itk::SmartPointer<const Self> ConstPointer; - /** New macro */ - itkNewMacro(Self); - /** Creation through object factory macro */ - itkTypeMacro(PointSetAndValuesFunction, FunctionBase); + itkTypeMacro(PointSetAndValuesFunction, itk::FunctionBase); typedef TPointSet PointSetType; typedef typename PointSetType::ConstPointer PointSetConstPointerType; -- GitLab