Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Fix method parameter bound mismatch warning in misc cell classes
Fix method parameter bound mismatch warning in `itk::TriangleCell` and `itk::TetrahedronCell`: do not specify the dimensionality of the array in the implementation file so that it matches the method declaration, and they match the `itk::CellInterface` superclass method declaration. Fixes: ``` [CTest: warning matched] Modules/Core/Common/include/itkTriangleCell.hxx:452:74: warning: argument 'pcoord' of type 'CoordRepType[3]' with mismatched bound [-Warray-parameter] CoordRepType pcoord[3], ^ [CTest: warning matched] Modules/Core/Common/include/itkTriangleCell.h:130:32: note: previously declared as 'CoordRepType[]' here CoordRepType[], ^ ``` and ``` [CTest: warning matched] Modules/Core/Common/include/itkTetrahedronCell.hxx:85:77: warning: argument 'pcoord' of type 'CoordRepType[3]' with mismatched bound [-Warray-parameter] CoordRepType pcoord[3], ^ [CTest: warning matched] Modules/Core/Common/include/itkTetrahedronCell.h:137:32: note: previously declared as 'CoordRepType[]' here CoordRepType[], ^ ``` raised, for example, in: https://open.cdash.org/viewBuildError.php?type=1&buildid=8839489 Related to commit 2338bdc.
- Loading branch information