mirror of
https://github.com/nlohmann/json.git
synced 2026-10-16 11:17:13 +00:00
🐛 fix returning reference to local temporary object #2064
This commit is contained in:
3 files changed
+25
-1
No files matched your search
@@ -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