mirror of
https://github.com/nlohmann/json.git
synced 2026-11-15 20:08:03 +00:00
🚧 trying nodiscard attribute #1433
This commit is contained in:
7 files changed
+49
-3
No files matched your search
@@ -2128,7 +2128,7 @@ TEST_CASE("all UBJSON first bytes", "[!throws]")
|
||||
|
||||
try
|
||||
{
|
||||
json::from_ubjson(std::vector<uint8_t>(1, byte));
|
||||
auto res = json::from_ubjson(std::vector<uint8_t>(1, byte));
|
||||
}
|
||||
catch (const json::parse_error& e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user