diff options
Diffstat (limited to 'test/const-math.cpp')
| -rw-r--r-- | test/const-math.cpp | 4 |
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 |
