From 7205bcf28c41b2f32067fb5437b3bdb4d0ae42c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 14 May 2020 18:41:50 +0200 Subject: [PATCH] MeshTools: this actually didn't test the erased version at all. The heck was I doing when implementing these. --- src/Magnum/MeshTools/Test/FlipNormalsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/MeshTools/Test/FlipNormalsTest.cpp b/src/Magnum/MeshTools/Test/FlipNormalsTest.cpp index 8dab2091d..0bd654e74 100644 --- a/src/Magnum/MeshTools/Test/FlipNormalsTest.cpp +++ b/src/Magnum/MeshTools/Test/FlipNormalsTest.cpp @@ -99,7 +99,7 @@ template void FlipNormalsTest::flipFaceWindingErased() { setTestCaseTemplateName(Math::TypeTraits::name()); T indices[]{0, 1, 2, 3, 4, 5}; - flipFaceWindingInPlace(indices); + flipFaceWindingInPlace(Containers::arrayCast<2, char>(Containers::stridedArrayView(indices))); CORRADE_COMPARE_AS(Containers::arrayView(indices), Containers::arrayView({0, 2, 1, 3, 5, 4}),