From 43ccdb6d3178891d900a527cfc48c81f478afe21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 25 May 2015 20:15:07 +0200 Subject: [PATCH] MeshTools: fix test on build without assertions. --- src/Magnum/MeshTools/CombineIndexedArrays.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/MeshTools/CombineIndexedArrays.cpp b/src/Magnum/MeshTools/CombineIndexedArrays.cpp index f99d9bfbd..569458bc4 100644 --- a/src/Magnum/MeshTools/CombineIndexedArrays.cpp +++ b/src/Magnum/MeshTools/CombineIndexedArrays.cpp @@ -40,7 +40,7 @@ std::pair, std::vector> interleaveAndCombi /* Array stride and size */ const UnsignedInt stride = end - begin; const UnsignedInt inputSize = begin->get().size(); - #ifndef CORRADE_NO_ASSERT + #if !defined(CORRADE_NO_ASSERT) || defined(CORRADE_GRACEFUL_ASSERT) for(auto it = begin; it != end; ++it) CORRADE_ASSERT(it->get().size() == inputSize, "MeshTools::combineIndexArrays(): the arrays don't have the same size", {}); #endif