🏁 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)
This commit is contained in:
Niels Lohmann 2018-07-21 10:59:00 +02:00
parent 347e77bdc1
commit 5b14411669
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -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);
}