🚨 fix warnings
This commit is contained in:
parent
7444c7fa25
commit
bf2e714e96
8 changed files with 163 additions and 142 deletions
|
@ -1587,7 +1587,7 @@ TEST_CASE("parser class")
|
|||
CHECK (j_filtered1.size() == 2);
|
||||
CHECK (j_filtered1 == json({1, {{"qux", "baz"}}}));
|
||||
|
||||
json j_filtered2 = json::parse(structured_array, [](int, json::parse_event_t e, const json & /*parsed*/)
|
||||
json j_filtered2 = json::parse(structured_array, [](int, json::parse_event_t e, const json& /*parsed*/)
|
||||
{
|
||||
if (e == json::parse_event_t::object_end)
|
||||
{
|
||||
|
|
|
@ -87,7 +87,6 @@ TEST_CASE("Custom iterator")
|
|||
using reference = const char&;
|
||||
using iterator_category = std::input_iterator_tag;
|
||||
|
||||
|
||||
MyIterator& operator++()
|
||||
{
|
||||
++ptr;
|
||||
|
@ -117,6 +116,4 @@ TEST_CASE("Custom iterator")
|
|||
CHECK(as_json.at(3) == 4);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue