Skip to content

Commit 597c780

Browse files
committed
STYLE: Fix KWStyleError
itkMeshToPolyDataFilter.h:34: error: Template definition (C) doesn't match regular itkMeshToPolyDataFilter.h:37: error: Template definition (C) doesn't match regular
1 parent 8aed3c7 commit 597c780

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/itkMeshToPolyDataFilter.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@
2626
namespace itk
2727
{
2828

29-
template <typename T>
29+
template <typename TInputType>
3030
class HasCellTraits
3131
{
3232
typedef char Yes[1];
3333
typedef char No[2];
34-
template <typename C>
34+
template <typename CellType>
3535
static Yes &
36-
test(typename C::CellTraits *); // selected if C is a class type
37-
template <typename C>
36+
test(typename CellType::CellTraits *); // selected if CellType is a class type
37+
template <typename CellType>
3838
static No &
3939
test(...); // selected otherwise
4040
public:
41-
static bool const value = sizeof(test<T>(0)) == sizeof(Yes);
41+
static bool const value = sizeof(test<TInputType>(0)) == sizeof(Yes);
4242
};
4343

4444
/** \class MeshToPolyDataFilter

0 commit comments

Comments
 (0)