🏁 trying to fix C2440 error

Error in AppVeyor:

unit-conversions.cpp(441): error C2440: 'initializing': cannot convert from 'nlohmann::json' to 'std::nullptr_t'

(https://ci.appveyor.com/project/nlohmann/json/build/2838/job/wo7im01sq6tvhe9m)
parent 347e77bd
......@@ -438,7 +438,7 @@ TEST_CASE("value conversion")
std::nullptr_t n;
json j(n);
std::nullptr_t n2 = j;
std::nullptr_t n2 = (std::nullptr_t)j;
CHECK(n2 == n);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment