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 b5bffda commit 2fdd6d5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/itkCudaImage.hxx
Expand Up @@ -18,7 +18,6 @@
#ifndef itkCudaImage_hxx
#define itkCudaImage_hxx

#include "itkCudaImage.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkCudaImageDataManager.hxx
Expand Up @@ -18,7 +18,6 @@
#ifndef itkCudaImageDataManager_hxx
#define itkCudaImageDataManager_hxx

#include "itkCudaImageDataManager.h"
#include "itkCudaUtil.h"
//#define VERBOSE

Expand Down
1 change: 0 additions & 1 deletion include/itkCudaImageToImageFilter.hxx
Expand Up @@ -18,7 +18,6 @@
#ifndef itkCudaImageToImageFilter_hxx
#define itkCudaImageToImageFilter_hxx

#include "itkCudaImageToImageFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkCudaInPlaceImageFilter.hxx
Expand Up @@ -18,7 +18,6 @@
#ifndef itkCudaInPlaceImageFilter_hxx
#define itkCudaInPlaceImageFilter_hxx

#include "itkCudaInPlaceImageFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkCudaSquareImageFilter.hxx
Expand Up @@ -19,7 +19,6 @@
#define itkCudaSquareImageFilter_hxx

#include "itkCudaSquareImage.hcu"
#include "itkCudaSquareImageFilter.h"

namespace itk
{
Expand Down

0 comments on commit 2fdd6d5

Please sign in to comment.