🚨 fix warning

This commit is contained in:
Niels Lohmann
2024-03-15 17:32:27 +01:00
parent b131d285ed
commit 7b89d3ab29
13 changed files with 73 additions and 73 deletions

View File

@@ -283,8 +283,8 @@ TEST_CASE("JSON Visit Node")
};
json.visit(
[&](const json_with_visitor_t::json_pointer & p,
const json_with_visitor_t& j)
[&](const json_with_visitor_t::json_pointer & p,
const json_with_visitor_t& j)
{
std::stringstream str;
str << p.to_string() << " - " ;
@@ -331,6 +331,6 @@ TEST_CASE("JSON Visit Node")
CHECK(expected.count(str.str()) == 1);
expected.erase(str.str());
}
);
);
CHECK(expected.empty());
}