unit-deserialization.cpp: Silence MSVC compiler warning

This commit is contained in:
Thomas Braun 2020-09-01 13:31:01 +02:00
parent 0b8644c452
commit f907c2ac2d

View File

@ -29,6 +29,10 @@ SOFTWARE.
#include "doctest_compatibility.h"
#if DOCTEST_MSVC && DOCTEST_MSVC < DOCTEST_COMPILER(19, 20, 0)
DOCTEST_MSVC_SUPPRESS_WARNING(4309) // 'conversion' : truncation of constant value
#endif // VS 14 2015 and 15 2017
#include <nlohmann/json.hpp>
using nlohmann::json;