@@ -42,6 +42,8 @@ template <class TFilter>
4242class ArrivalFunctionToPathCommand : public itk ::Command
4343{
4444public:
45+ ITK_DISALLOW_COPY_AND_ASSIGN (ArrivalFunctionToPathCommand);
46+
4547 /* * Standard class type alias. */
4648 using Self = ArrivalFunctionToPathCommand;
4749 using Superclass = itk::Command;
@@ -82,8 +84,6 @@ class ArrivalFunctionToPathCommand : public itk::Command
8284 ~ArrivalFunctionToPathCommand () override {}
8385
8486private:
85- ITK_DISALLOW_COPY_AND_ASSIGN (ArrivalFunctionToPathCommand);
86-
8787 typename FilterType::Pointer m_Filter;
8888};
8989
@@ -143,6 +143,8 @@ class ITK_EXPORT ArrivalFunctionToPathFilter :
143143 public ImageToPathFilter<TInputImage,TOutputPath>
144144{
145145public:
146+ ITK_DISALLOW_COPY_AND_ASSIGN (ArrivalFunctionToPathFilter);
147+
146148 /* * Standard class type alias. */
147149 using Self = ArrivalFunctionToPathFilter;
148150 using Superclass = ImageToPathFilter<TInputImage,TOutputPath>;
@@ -235,9 +237,6 @@ class ITK_EXPORT ArrivalFunctionToPathFilter :
235237 typename OptimizerType::MeasureType m_TerminationValue;
236238 std::vector<PointsContainerType> m_PointList;
237239 unsigned int m_CurrentOutput;
238-
239- private:
240- ITK_DISALLOW_COPY_AND_ASSIGN (ArrivalFunctionToPathFilter);
241240};
242241
243242} // end namespace itk
0 commit comments