diff --git a/include/gsl/multi_span b/include/gsl/multi_span index 319aded..2ac8457 100644 --- a/include/gsl/multi_span +++ b/include/gsl/multi_span @@ -79,7 +79,7 @@ namespace details template struct SizeTypeTraits { - static const SizeType max_value = std::numeric_limits::max(); + static const SizeType max_value = (std::numeric_limits::max)(); }; template