1
0
mirror of https://github.com/nlohmann/json synced 2024-11-27 06:10:06 +00:00

🏁 implicit conversion is not allowed with MSVC

This commit is contained in:
Niels Lohmann 2018-07-21 11:47:05 +02:00
parent 5b14411669
commit 3760a38b7e
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -433,15 +433,6 @@ TEST_CASE("value conversion")
#endif
}
SECTION("get null (implicit)")
{
std::nullptr_t n;
json j(n);
std::nullptr_t n2 = (std::nullptr_t)j;
CHECK(n2 == n);
}
SECTION("get null (explicit)")
{
std::nullptr_t n;