mirror of
https://github.com/nlohmann/json
synced 2024-11-23 12:30:06 +00:00
🏁 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:
parent
347e77bdc1
commit
5b14411669
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user