Skip to content

Commit

Permalink
COMP: Remove inclusion of .hxx files as headers
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
hjmjohnson committed Dec 18, 2021
1 parent 1d57bb6 commit b66464f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion include/itkAnisotropicDiffusionLBRImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#ifndef itkAnisotropicDiffusionLBRImageFilter_hxx
#define itkAnisotropicDiffusionLBRImageFilter_hxx

#include "itkAnisotropicDiffusionLBRImageFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkCoherenceEnhancingDiffusionImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkCoherenceEnhancingDiffusionImageFilter_hxx
#define itkCoherenceEnhancingDiffusionImageFilter_hxx

#include "itkCoherenceEnhancingDiffusionImageFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkLinearAnisotropicDiffusionLBRImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "itkMinimumMaximumImageCalculator.h"
#include "itkCastImageFilter.h"
#include "itkExtractImageFilter.h"
#include "itkLinearAnisotropicDiffusionLBRImageFilter.h"
#include "itkUnaryFunctorWithIndexImageFilter.h"
#include "itkTernaryFunctorImageFilter.h"

Expand Down
1 change: 0 additions & 1 deletion include/itkStructureTensorImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#ifndef itkStructureTensorImageFilter_hxx
#define itkStructureTensorImageFilter_hxx

#include "itkStructureTensorImageFilter.h"
#include "itkMinimumMaximumImageCalculator.h"

namespace itk
Expand Down

0 comments on commit b66464f

Please sign in to comment.