mirror of
https://github.com/nlohmann/json.git
synced 2026-02-28 06:16:24 +00:00
🐛 fix returning reference to local temporary object #2064
This commit is contained in:
@@ -826,7 +826,7 @@ TEST_CASE("constructors")
|
||||
|
||||
// check that NaN is serialized to null
|
||||
CHECK(j.dump() == "null");
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("infinity")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user