summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/limits.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/limits.hpp b/compat/limits.hpp
index 0de74afa..93c66951 100644
--- a/compat/limits.hpp
+++ b/compat/limits.hpp
@@ -35,7 +35,7 @@ template<> struct limits<double>
using integer_type = int64_t;
};
-template<typename T> requires std::is_arithmetic_v<T> using int_max = typename limits<T>::max;;
-template<typename T> requires std::is_arithmetic_v<T> using int_min = typename limits<T>::min;;
+template<typename T> requires std::is_integral_v<T> using int_max = typename limits<T>::max;
+template<typename T> requires std::is_integral_v<T> using int_min = typename limits<T>::min;
} // namespace floormat