diff --git a/src/utils.hpp b/src/utils.hpp index a02053f..3bf5e41 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -83,7 +83,7 @@ inline T to_int(const std::string_view& str) { } template - requires std::is_floating_point::value + requires std::is_floating_point_v inline T to_floating(const std::string_view& str) { T result = 0; std::from_chars(str.data(), str.data() + str.size(), result);