Skip to content

Commit e7c920f

Browse files
hjmjohnsondzenanz
authored andcommitted
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 43d149f commit e7c920f

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

include/itkSplitComponentsImageFilter.hxx

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

21-
#include "itkSplitComponentsImageFilter.h"
2221

2322
#include "itkImageRegionConstIterator.h"
2423
#include "itkImageRegionIterator.h"

include/itkStrainImageFilter.hxx

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

21-
#include "itkStrainImageFilter.h"
2221

2322
#include "itkGradientImageFilter.h"
2423
#include "itkImageRegionConstIterator.h"

include/itkTransformToStrainFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#define itkTransformToStrainFilter_hxx
2020

2121
#include "itkImageRegionIteratorWithIndex.h"
22-
#include "itkTransformToStrainFilter.h"
2322

2423
namespace itk
2524
{

0 commit comments

Comments
 (0)