Inhibit macro expansion for call to numeric_limits<T>::max in SizeTypeTraits. Resolves warning C4003 which is generated under MSVC in some circumstances.

This commit is contained in:
RaptorFactor 2017-01-12 23:52:23 -08:00
parent 897cc48f70
commit 7aebbf3c50

View File

@ -87,7 +87,7 @@ namespace details
template <typename SizeType> template <typename SizeType>
struct SizeTypeTraits struct SizeTypeTraits
{ {
static const SizeType max_value = std::numeric_limits<SizeType>::max(); static const SizeType max_value = (std::numeric_limits<SizeType>::max)();
}; };
template <typename... Ts> template <typename... Ts>