diff --git a/include/faker-cxx/String.h b/include/faker-cxx/String.h index 53e3be41f..64323ef0a 100644 --- a/include/faker-cxx/String.h +++ b/include/faker-cxx/String.h @@ -22,8 +22,8 @@ enum class StringCasing struct CharCount { - unsigned int atleastCount{std::numeric_limits::min()}; - unsigned int atmostCount{std::numeric_limits::max()}; + unsigned int atleastCount{(std::numeric_limits::min)()}; + unsigned int atmostCount{(std::numeric_limits::max)()}; }; /*