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 authored and dzenanz committed Dec 20, 2021
1 parent b9cedfe commit cb1d6b5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion include/itkButterworthFilterFreqImageSource.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkButterworthFilterFreqImageSource_hxx
#define itkButterworthFilterFreqImageSource_hxx

#include "itkButterworthFilterFreqImageSource.h"
#include "itkImageRegionIteratorWithIndex.h"


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

#include "itkLogGaborFreqImageSource.h"
#include "itkImageRegionIteratorWithIndex.h"

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

#include "itkPhaseSymmetryImageFilter.h"
#include <string>
#include <sstream>

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

#include "itkSinusoidImageSource.h"
#include "itkSinusoidSpatialFunction.h"
#include "itkImageRegionIterator.h"
#include "itkProgressReporter.h"
Expand Down
1 change: 0 additions & 1 deletion include/itkSinusoidSpatialFunction.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <cmath>
#include "vnl/vnl_math.h"
#include "itkSinusoidSpatialFunction.h"

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

#include "itkSteerableFilterFreqImageSource.h"
#include "itkImageRegionIteratorWithIndex.h"
#include "itkProgressReporter.h"
#include "itkObjectFactory.h"
Expand Down

0 comments on commit cb1d6b5

Please sign in to comment.