🐛 fix returning reference to local temporary object #2064
This commit is contained in:
parent
d9d1279a94
commit
9e0180b698
3 changed files with 25 additions and 1 deletions
|
@ -826,7 +826,7 @@ TEST_CASE("constructors")
|
|||
|
||||
// check that NaN is serialized to null
|
||||
CHECK(j.dump() == "null");
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("infinity")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue