diff --git a/test/STL_benchmark.cpp b/test/STL_benchmark.cpp index 41c71ff2e..9c6914722 100644 --- a/test/STL_benchmark.cpp +++ b/test/STL_benchmark.cpp @@ -619,8 +619,7 @@ void test_from_chars_integer(const char* const str, [[maybe_unused]] const vecto printf("%6.1f ns | %s\n", duration{finish - start}.count() / (N * K), str); - if constexpr (std::is_same_v) - verify(round_trip == original); + verify(round_trip == original); } template @@ -642,8 +641,7 @@ void test_boost_from_chars_integer(const char* const str, [[maybe_unused]] const printf("%6.1f ns | %s\n", duration{finish - start}.count() / (N * K), str); - if constexpr (std::is_same_v) - verify(round_trip == original); + verify(round_trip == original); } template