mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
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:
parent
897cc48f70
commit
7aebbf3c50
@ -87,7 +87,7 @@ namespace details
|
||||
template <typename SizeType>
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user