From 04cde485369c2ec4cbf1728e84ad6c89219294ba Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Thu, 21 Nov 2024 17:36:30 +0100 Subject: [PATCH] STYLE: Remove `p->Initialize()` call after `p = T::New()` in example - Follow-up to pull request https://github.com/InsightSoftwareConsortium/ITK/pull/4972 commit 674b3d27b9722077ec524ab9a8aab31a6f0fad7b "STYLE: Remove `p->Initialize()` calls directly after `p = T::New()`" --- Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx index da6332dde76..47cda0ae542 100644 --- a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx +++ b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx @@ -86,7 +86,6 @@ main(int argc, char * argv[]) // Software Guide : BeginCodeSnippet ImageType::ConstPointer image = reader->GetOutput(); auto path = PathType::New(); - path->Initialize(); using ContinuousIndexType = PathType::ContinuousIndexType; ContinuousIndexType cindex;