Skip to content

Commit b11b389

Browse files
authored
Merge pull request InsightSoftwareConsortium#5912 from N-Dekker/Remove-empty-private-and-protected-sections
Remove empty `private` and `protected` sections from class definitions
2 parents 4169ee5 + 9846ad3 commit b11b389

51 files changed

Lines changed: 0 additions & 104 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Modules/Core/Common/include/itkRandomVariateGeneratorBase.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ class ITKCommon_EXPORT RandomVariateGeneratorBase : public Object
4646
protected:
4747
RandomVariateGeneratorBase();
4848
~RandomVariateGeneratorBase() override;
49-
50-
private:
5149
}; // end of class
5250
} // namespace itk::Statistics
5351

Modules/Core/Common/include/itkRegion.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ class ITKCommon_EXPORT Region
105105

106106
virtual void
107107
PrintTrailer(std::ostream & os, Indent indent) const;
108-
109-
private:
110108
};
111109
} // end namespace itk
112110

Modules/Core/Common/include/itkSymmetricSecondRankTensor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ class ITK_TEMPLATE_EXPORT SymmetricSecondRankTensor : public FixedArray<TCompone
242242
/** Post-Multiply by a Matrix as ResultingMatrix = ThisTensor * Matrix. */
243243
[[nodiscard]] MatrixType
244244
PostMultiply(const MatrixType & m) const;
245-
246-
private:
247245
};
248246

249247
/** This extra type alias is necessary for preventing an Internal Compiler Error in

Modules/Core/ImageAdaptors/include/itkRGBToVectorPixelAccessor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ class RGBToVectorPixelAccessor
6868
ExternalType v(input.GetDataPointer());
6969
return v;
7070
}
71-
72-
private:
7371
};
7472
} // namespace itk::Accessor
7573

Modules/Core/ImageAdaptors/include/itkVectorToRGBPixelAccessor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class VectorToRGBPixelAccessor
6969

7070
return rgb;
7171
}
72-
73-
private:
7472
};
7573
} // namespace itk::Accessor
7674

Modules/Core/Mesh/include/itkSimplexMeshGeometry.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ class ITKMesh_EXPORT SimplexMeshGeometry
145145
*/
146146
void
147147
ComputeGeometry();
148-
149-
protected:
150148
}; // end of class SimplexMeshGeometry
151149
} // end of namespace itk
152150

Modules/Core/SpatialObjects/include/itkSpatialObjectToImageFilter.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ class ITK_TEMPLATE_EXPORT SpatialObjectToImageFilter : public ImageSource<TOutpu
232232

233233
void
234234
PrintSelf(std::ostream & os, Indent indent) const override;
235-
236-
private:
237235
};
238236
} // end namespace itk
239237

Modules/Core/Transform/include/itkKernelTransform.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@ class ITK_TEMPLATE_EXPORT KernelTransform : public Transform<TParametersValueTyp
378378

379379
/** The list of target landmarks, denoted 'q'. */
380380
PointSetPointer m_TargetLandmarks{};
381-
382-
private:
383381
};
384382
} // end namespace itk
385383

Modules/Filtering/FFT/include/itkComplexToComplex1DFFTImageFilter.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ class ITK_TEMPLATE_EXPORT ComplexToComplex1DFFTImageFilter : public ImageToImage
114114

115115
/** Direction to apply the transform (forward/inverse). */
116116
TransformDirectionType m_TransformDirection{ DIRECT };
117-
118-
private:
119117
};
120118

121119
} // namespace itk

Modules/Filtering/FFT/include/itkFFTWGlobalConfiguration.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ class ITKFFT_EXPORT WisdomFilenameGeneratorBase
8383
GenerateWisdomFilename(const std::string & baseCacheDirectory) const = 0;
8484
WisdomFilenameGeneratorBase();
8585
virtual ~WisdomFilenameGeneratorBase();
86-
87-
private:
8886
};
8987

9088
class ITKFFT_EXPORT ManualWisdomFilenameGenerator : public WisdomFilenameGeneratorBase

0 commit comments

Comments
 (0)