InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.4k stars 661 forks source link

STYLE: Use std::unique_ptr for GradientImageFilter::m_BoundaryCondition #4512

Closed N-Dekker closed 5 months ago

N-Dekker commented 5 months ago

Following C++ Core Guidelines, "Use unique_ptr or shared_ptr to avoid forgetting to delete objects created using new".

Defaulted the destructor of GradientImageFilter.