Update json.hpp

This commit is contained in:
AraHaan 2017-11-06 12:12:35 -05:00 committed by GitHub
parent 30480b177e
commit 260c1563bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,17 +120,15 @@ SOFTWARE.
In Visual Studio 2017 there are warnings on min
and max in this header having not enough args.
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!!!
*/
#if (_MSC_VER >= 1911)
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
#endif
/*!
@brief namespace for Niels Lohmann