From 986f2acade5c03e1ca591bab91c5bd5f8b61aa0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 13 Dec 2022 12:17:25 +0100 Subject: [PATCH] MeshTools: minor code reordering in a test. --- src/Magnum/MeshTools/Test/CompileGLTest.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Magnum/MeshTools/Test/CompileGLTest.cpp b/src/Magnum/MeshTools/Test/CompileGLTest.cpp index 8da9dfb8b..46e38e2bc 100644 --- a/src/Magnum/MeshTools/Test/CompileGLTest.cpp +++ b/src/Magnum/MeshTools/Test/CompileGLTest.cpp @@ -201,6 +201,14 @@ const struct { {"positions, object id, nonindexed", Flag::ObjectId|Flag::NonIndexed, {}} }; +constexpr struct { + const char* name; + CompileFlags flags; +} CustomAttributeWarningData[] { + {"", {}}, + {"no warning", CompileFlag::NoWarnOnCustomAttributes} +}; + constexpr struct { const char* name; bool indexed, moveIndices, moveVertices; @@ -212,14 +220,6 @@ constexpr struct { {"move both", true, true, true} }; -constexpr struct { - const char* name; - CompileFlags flags; -} CustomAttributeWarningData[] { - {"", {}}, - {"no warning", CompileFlag::NoWarnOnCustomAttributes} -}; - using namespace Math::Literals; constexpr Color4ub ImageData[] {