From 3f7b18e3c2289eb3c44f1203ef1a542092c6d6cf Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 11 Oct 2025 11:22:16 +0100 Subject: [PATCH] Changed result of etl::is_constant_evaluated() in test_is_constant_evaluated from const to constexpr. --- test/test_type_traits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_type_traits.cpp b/test/test_type_traits.cpp index 48aa9a31..f6c8a73f 100644 --- a/test/test_type_traits.cpp +++ b/test/test_type_traits.cpp @@ -1477,7 +1477,7 @@ namespace //************************************************************************* TEST(test_is_constant_evaluated) { - const bool c0 = etl::is_constant_evaluated(); + constexpr bool c0 = etl::is_constant_evaluated(); #if !ETL_USING_CPP23 && defined(ETL_COMPILER_MICROSOFT) // Not supported on MSVC via __has_builtin, see determine_builtin_support.h CHECK_FALSE(c0);