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 17, 2021
1 parent 2ed2198 commit 501ffd9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/itkNMinimaMaximaImageCalculator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkNMinimaMaximaImageCalculator_hxx
#define itkNMinimaMaximaImageCalculator_hxx

#include "itkNMinimaMaximaImageCalculator.h"

#include "itkImageRegionConstIteratorWithIndex.h"
#include "itkMultiThreaderBase.h"
Expand Down
1 change: 0 additions & 1 deletion include/itkPhaseCorrelationImageRegistrationMethod.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkPhaseCorrelationImageRegistrationMethod_hxx
#define itkPhaseCorrelationImageRegistrationMethod_hxx

#include "itkPhaseCorrelationImageRegistrationMethod.h"

#include "itkMath.h"
#include "itkNumericTraits.h"
Expand Down
1 change: 0 additions & 1 deletion include/itkPhaseCorrelationOperator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkPhaseCorrelationOperator_hxx
#define itkPhaseCorrelationOperator_hxx

#include "itkPhaseCorrelationOperator.h"

#include "itkImageScanlineIterator.h"
#include "itkMetaDataObject.h"
Expand Down
1 change: 0 additions & 1 deletion include/itkPhaseCorrelationOptimizer.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkPhaseCorrelationOptimizer_hxx
#define itkPhaseCorrelationOptimizer_hxx

#include "itkPhaseCorrelationOptimizer.h"

#include "itkImageRegionConstIterator.h"
#include "itkImageRegionIteratorWithIndex.h"
Expand Down
1 change: 0 additions & 1 deletion include/itkTileMergeImageFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkTileMergeImageFilter_hxx
#define itkTileMergeImageFilter_hxx

#include "itkTileMergeImageFilter.h"

#include "itkMultiThreaderBase.h"

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

#include "itkTileMontage.h"

#include "itkMultiThreaderBase.h"
#include "itkNumericTraits.h"
Expand Down

0 comments on commit 501ffd9

Please sign in to comment.