Skip to content

Use std::unique_ptr and reduce scope of local variables within vtkCurvatures.cxx

  • Use std::unique_ptr<T[]> for local pointers, initialized by new T[n].
  • Reduce scope of local variables, initializing and declaring them const where possible

Merge request reports