mirror of https://github.com/nlohmann/json.git
Fix warning: ignoring return value
parent
b568619c4a
commit
4c1ebb4413
|
@ -43,7 +43,8 @@ TEST_CASE("tests on very large JSONs")
|
|||
std::string s(2 * depth, '[');
|
||||
std::fill(s.begin() + depth, s.end(), ']');
|
||||
|
||||
CHECK_NOTHROW(nlohmann::json::parse(s));
|
||||
json _;
|
||||
CHECK_NOTHROW(_ = nlohmann::json::parse(s));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue