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 026bc0a commit f9a8dc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/LOCAL_itkResourceProbe.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <utility>
#include <type_traits>

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

#include "LOCAL_itkResourceProbesCollectorBase.h"
#include <iostream>

namespace itk
Expand Down

0 comments on commit f9a8dc2

Please sign in to comment.