From 5489e9ff3a13d7bdfc517822c79b9f887dcc9b9a Mon Sep 17 00:00:00 2001 From: Jan Dorniak Date: Tue, 25 Jun 2024 15:00:18 +0200 Subject: [PATCH] test: etl_traits: fix for C++23 --- test/test_etl_traits.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_etl_traits.cpp b/test/test_etl_traits.cpp index a071960e4..2ef48dc82 100644 --- a/test/test_etl_traits.cpp +++ b/test/test_etl_traits.cpp @@ -84,7 +84,9 @@ namespace CHECK_EQUAL(ETL_VERSION_MINOR, etl::traits::version_minor); CHECK_EQUAL(ETL_VERSION_PATCH, etl::traits::version_patch); CHECK_EQUAL(ETL_VERSION_VALUE, etl::traits::version); -#if ETL_USING_CPP20 +#if ETL_USING_CPP23 + CHECK_EQUAL(23, etl::traits::language_standard); +#elif ETL_USING_CPP20 CHECK_EQUAL(20, etl::traits::language_standard); #elif ETL_USING_CPP17 CHECK_EQUAL(17, etl::traits::language_standard);