summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-26 16:53:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-26 18:20:35 +0100
commit28d8851dc16335650fc093fb52e5b22df30431dd (patch)
treedc5b483bc82ac3a16d99b381ca9579c01deac376 /test
parentc35faf0080d4792e439e35ab378721631e6d4d76 (diff)
test: fix build
Diffstat (limited to 'test')
-rw-r--r--test/const-math.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/const-math.cpp b/test/const-math.cpp
index afea9a0a..5c3e7916 100644
--- a/test/const-math.cpp
+++ b/test/const-math.cpp
@@ -6,7 +6,7 @@
#include <Magnum/Math/Vector3.h>
#include <Magnum/Math/Vector4.h>
-#if defined CORRADE_CONSTEVAL || defined MAGNUM_CONSTEXPR14
+#if defined CORRADE_CONSTEXPR14_
#ifdef __GNUG__
# pragma GCC diagnostic push
@@ -72,5 +72,5 @@ void test_app::test_const_math()
# pragma GCC diagnostic pop
#endif
#else
-namespace floormat { bool floormat::test_const_math() { return true; } }
+void floormat::test_app::test_const_math() {}
#endif