mirror of
https://github.com/nlohmann/json.git
synced 2026-02-20 10:26:26 +00:00
🚧 trying nodiscard attribute #1433
This commit is contained in:
@@ -1962,7 +1962,7 @@ TEST_CASE("all CBOR first bytes", "[!throws]")
|
||||
|
||||
try
|
||||
{
|
||||
json::from_cbor(std::vector<uint8_t>(1, byte));
|
||||
auto res = json::from_cbor(std::vector<uint8_t>(1, byte));
|
||||
}
|
||||
catch (const json::parse_error& e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user