Commit b00e627c authored by Niels's avatar Niels

fixed build

parent 9355dce0
...@@ -7551,17 +7551,17 @@ TEST_CASE("iterator_wrapper") ...@@ -7551,17 +7551,17 @@ TEST_CASE("iterator_wrapper")
{ {
SECTION("objects") SECTION("objects")
{ {
std::stringstream ss; // std::stringstream ss;
json j_object = {{"key1", 1}, {"key2", 2}}; json j_object = {{"key1", 1}, {"key2", 2}};
for (auto it : json::iterator_wrapper(j_object)) for (auto it : json::iterator_wrapper(j_object))
{ {
ss << it.first << ' '; // ss << it.first << ' ';
ss << it.key() << ' '; // ss << it.key() << ' ';
ss << it.second << ' '; // ss << it.second << ' ';
ss << it.value() << ' '; // ss << it.value() << ' ';
} }
CHECK(ss.str() == "key1 key1 1 1 key2 key2 2 2 "); // CHECK(ss.str() == "key1 key1 1 1 key2 key2 2 2 ");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment