Skip to content

Commit 18f8aca

Browse files
committed
COMP: Remove inclusion of .hxx files as headers
The ability to include either .h or .hxx files as header files required recursively reading the .h files twice. The added complexity is unnecessary, costly, and can confuse static analysis tools that monitor header guardes (due to reaching the maximum depth of recursion limits for nested #ifdefs in checking).
1 parent a31fc7d commit 18f8aca

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

include/itkAdaptiveNonLocalMeansDenoisingImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkAdaptiveNonLocalMeansDenoisingImageFilter_hxx
1919
#define itkAdaptiveNonLocalMeansDenoisingImageFilter_hxx
2020

21-
#include "itkAdaptiveNonLocalMeansDenoisingImageFilter.h"
2221

2322
#include "itkArray.h"
2423
#include "itkDiscreteGaussianImageFilter.h"

include/itkNonLocalPatchBasedImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkNonLocalPatchBasedImageFilter_hxx
1919
#define itkNonLocalPatchBasedImageFilter_hxx
2020

21-
#include "itkNonLocalPatchBasedImageFilter.h"
2221

2322
#include "itkNeighborhood.h"
2423

include/itkVarianceImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*=========================================================================*/
1818
#ifndef itkVarianceImageFilter_hxx
1919
#define itkVarianceImageFilter_hxx
20-
#include "itkVarianceImageFilter.h"
2120

2221
#include "itkConstNeighborhoodIterator.h"
2322
#include "itkNeighborhoodInnerProduct.h"

0 commit comments

Comments
 (0)