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 19ece52 commit ba1417c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/itkBSplineApproximationGradientImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkBSplineApproximationGradientImageFilter_hxx
#define itkBSplineApproximationGradientImageFilter_hxx

#include "itkBSplineApproximationGradientImageFilter.h"

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

#include "itkBSplineGradientImageFilter.h"

#include "itkImageRegionIteratorWithIndex.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkBSplineScatteredDataPointSetToGradientImageFilter_hxx
#define itkBSplineScatteredDataPointSetToGradientImageFilter_hxx

#include "itkBSplineScatteredDataPointSetToGradientImageFilter.h"

#include "itkImageRegionIteratorWithIndex.h"
#include "itkNeighborhoodAlgorithm.h" // face calculator
Expand Down
1 change: 0 additions & 1 deletion include/itkImageToImageOfVectorsFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkImageToImageOfVectorsFilter_hxx
#define itkImageToImageOfVectorsFilter_hxx

#include "itkImageToImageOfVectorsFilter.h"

#include "itkImageRegionIterator.h"

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

#include "itkImageToPointSetFilter.h"

#include "itkImageRegionConstIteratorWithIndex.h"
#include "itkProgressReporter.h"
Expand Down

0 comments on commit ba1417c

Please sign in to comment.