From 8f552c75b6e3507f41b60834cf8f7b27164af1cc Mon Sep 17 00:00:00 2001 From: Otmane Lahlou <otmane.lahlou@c-s.fr> Date: Fri, 30 Jan 2009 10:20:52 +0100 Subject: [PATCH] ENH: warning corrected --- Testing/Code/BasicFilters/otbPointSetDensityFunctionNew.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Testing/Code/BasicFilters/otbPointSetDensityFunctionNew.cxx b/Testing/Code/BasicFilters/otbPointSetDensityFunctionNew.cxx index 80c7e5623c..294b7a49f6 100644 --- a/Testing/Code/BasicFilters/otbPointSetDensityFunctionNew.cxx +++ b/Testing/Code/BasicFilters/otbPointSetDensityFunctionNew.cxx @@ -33,9 +33,8 @@ int otbPointSetDensityFunctionNew(int, char* [] ) typedef itk::PointSet<RealVectorType,Dimension> PointSetType; typedef otb::PointSetDensityFunction <PointSetType,PixelType> FunctionType; - /**Instancitation of an object*/ - FunctionType filter(); - //FunctionType::Pointer filter = FunctionType::New(); + /**Instancitation of a Smart Pointer*/ + FunctionType::Pointer filter = FunctionType::New(); return EXIT_SUCCESS; } -- GitLab