From 41d9616c185113814ff8cf593898b0294d8a0c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 17 May 2022 16:04:49 +0200 Subject: [PATCH] SceneTools: no need to preserve this expressions on a no-assert build. Autocomplete hiccup? Or did I originally increment inside that assert expression?? --- src/Magnum/SceneTools/OrderClusterParents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/SceneTools/OrderClusterParents.cpp b/src/Magnum/SceneTools/OrderClusterParents.cpp index 4ead69c91..f39248115 100644 --- a/src/Magnum/SceneTools/OrderClusterParents.cpp +++ b/src/Magnum/SceneTools/OrderClusterParents.cpp @@ -118,7 +118,7 @@ void orderClusterParentsInto(const Trade::SceneData& scene, const Containers::St which nodes are parented more than once (OTOH maybe that's unnecessary extra work which isn't desired to be done here but should be instead in a dedicated cycle/sparse checker utility?) */ - CORRADE_ASSERT_OUTPUT(outputOffset < parents.size(), + CORRADE_ASSERT(outputOffset < parents.size(), "SceneTools::orderClusterParents(): hierarchy is cyclic", ); parentsToProcess[outputOffset + 1] = children[j]; mappingDestination[outputOffset] = children[j];