mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Changed result of etl::is_constant_evaluated() in test_is_constant_evaluated from const to constexpr.
This commit is contained in:
parent
85678586c4
commit
3f7b18e3c2
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user