diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index 1f11a7c..2cac4a8 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -186,6 +186,7 @@ struct from_chars_caller template +FASTFLOAT_CONSTEXPR20 from_chars_result_t from_chars(UC const * first, UC const * last, T &value, chars_format fmt /*= chars_format::general*/) noexcept { return from_chars_caller::call(first, last, value, parse_options_t(fmt)); diff --git a/tests/installation_tests/find/CMakeLists.txt b/tests/installation_tests/find/CMakeLists.txt index 537ee24..1595267 100644 --- a/tests/installation_tests/find/CMakeLists.txt +++ b/tests/installation_tests/find/CMakeLists.txt @@ -4,7 +4,6 @@ project(test_install VERSION 0.1.0 LANGUAGES CXX) set(FASTFLOAT_CXX_STANDARD 17 CACHE STRING "the C++ standard to use for fastfloat") set(CMAKE_CXX_STANDARD ${FASTFLOAT_CXX_STANDARD}) -set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(MSVC_VERSION GREATER 1910) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -permissive-")