Update json.hpp
This commit is contained in:
parent
30480b177e
commit
260c1563bf
@ -120,17 +120,15 @@ SOFTWARE.
|
|||||||
In Visual Studio 2017 there are warnings on min
|
In Visual Studio 2017 there are warnings on min
|
||||||
and max in this header having not enough args.
|
and max in this header having not enough args.
|
||||||
This is because in C min and max take args and
|
This is because in C min and max take args and
|
||||||
wll are not needed anyway so we undefine them
|
well are not needed anyway so we undefine them
|
||||||
first to silence these annoying warnings!!!
|
first to silence these annoying warnings!!!
|
||||||
*/
|
*/
|
||||||
#if (_MSC_VER >= 1911)
|
|
||||||
#ifdef min
|
#ifdef min
|
||||||
#undef min
|
#undef min
|
||||||
#endif
|
#endif
|
||||||
#ifdef max
|
#ifdef max
|
||||||
#undef max
|
#undef max
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@brief namespace for Niels Lohmann
|
@brief namespace for Niels Lohmann
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user