From 28d8851dc16335650fc093fb52e5b22df30431dd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Feb 2023 16:53:38 +0100 Subject: test: fix build --- test/const-math.cpp | 4 ++-- 1 file 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 #include -#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 -- cgit v1.2.3