🚨 fix UBSAN warnings
This commit is contained in:
parent
0db1692f45
commit
dfe53c36da
4 changed files with 30 additions and 25 deletions
|
|
@ -1580,7 +1580,7 @@ TEST_CASE("single CBOR roundtrip")
|
|||
{
|
||||
SECTION("std::ostringstream")
|
||||
{
|
||||
std::ostringstream ss;
|
||||
std::basic_ostringstream<std::uint8_t> ss;
|
||||
json::to_cbor(j1, ss);
|
||||
json j3 = json::from_cbor(ss.str());
|
||||
CHECK(j1 == j3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue