Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Commit b66464f

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 1d57bb6 commit b66464f

4 files changed

Lines changed: 0 additions & 4 deletions

include/itkAnisotropicDiffusionLBRImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef itkAnisotropicDiffusionLBRImageFilter_hxx
2525
#define itkAnisotropicDiffusionLBRImageFilter_hxx
2626

27-
#include "itkAnisotropicDiffusionLBRImageFilter.h"
2827

2928
namespace itk
3029
{

include/itkCoherenceEnhancingDiffusionImageFilter.hxx

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

22-
#include "itkCoherenceEnhancingDiffusionImageFilter.h"
2322

2423
namespace itk
2524
{

include/itkLinearAnisotropicDiffusionLBRImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "itkMinimumMaximumImageCalculator.h"
3030
#include "itkCastImageFilter.h"
3131
#include "itkExtractImageFilter.h"
32-
#include "itkLinearAnisotropicDiffusionLBRImageFilter.h"
3332
#include "itkUnaryFunctorWithIndexImageFilter.h"
3433
#include "itkTernaryFunctorImageFilter.h"
3534

include/itkStructureTensorImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#ifndef itkStructureTensorImageFilter_hxx
2525
#define itkStructureTensorImageFilter_hxx
2626

27-
#include "itkStructureTensorImageFilter.h"
2827
#include "itkMinimumMaximumImageCalculator.h"
2928

3029
namespace itk

0 commit comments

Comments
 (0)