diff --git a/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h b/Modules/Core/PointSet/include/otbPointSetAndValuesFunction.h index ef4a9cbe22dadb56bbefe6bb5b68320d7805d1bc..72865167f44d6fb42bb0f378f9d99c1e808f10d6 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;