Skip to content

Commit

Permalink
test: etl_traits: fix for C++23
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Dorniak committed Jun 25, 2024
1 parent afe4eb4 commit 5489e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_etl_traits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5489e9f

Please sign in to comment.