Disable C28020 warning in json.hpp as a stop gap on Windows. (#2535)
This commit is contained in:
parent
a6f3b530d5
commit
a2f027f0df
@ -15731,6 +15731,12 @@ namespace Azure { namespace Core { namespace Json { namespace _internal { namesp
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
// warning C28020: The expression '0<=_Param_(1)&&_Param_(1)<=400-1' is not true at this call.
|
||||
#pragma warning(disable : 28020)
|
||||
#endif
|
||||
|
||||
/*!
|
||||
@brief check whether a string is UTF-8 encoded
|
||||
|
||||
@ -15795,6 +15801,10 @@ namespace Azure { namespace Core { namespace Json { namespace _internal { namesp
|
||||
return state;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Overload to make the compiler happy while it is instantiating
|
||||
* dump_integer for number_unsigned_t.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user