mirror of
https://github.com/nlohmann/json.git
synced 2026-10-16 11:17:13 +00:00
🏁 implicit conversion is not allowed with MSVC
This commit is contained in:
1 file changed
-9
@@ -433,15 +433,6 @@ TEST_CASE("value conversion")
|
|||||||
#endif
|
#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)")
|
SECTION("get null (explicit)")
|
||||||
{
|
{
|
||||||
std::nullptr_t n;
|
std::nullptr_t n;
|
||||||
|
|||||||
Reference in new issue
Block a user