diff --git a/src/Math/Test/SwizzleTest.cpp b/src/Math/Test/SwizzleTest.cpp index 298b7dba6..d7ad910c0 100644 --- a/src/Math/Test/SwizzleTest.cpp +++ b/src/Math/Test/SwizzleTest.cpp @@ -52,7 +52,9 @@ void SwizzleTest::rgba() { void SwizzleTest::fromSmall() { /* Force compile-time evaluation for both */ constexpr Vector2 orig(1, 2); + #ifndef MAGNUM_GCC45_COMPATIBILITY CORRADE_VERIFY((integral_constant::value)); + #endif CORRADE_COMPARE((swizzle<'g', 'x', 'r'>(orig)), Vector3(2, 1, 1)); }