fixed build

This commit is contained in:
Niels 2015-08-02 21:47:11 +02:00
parent 9355dce063
commit b00e627c30

View file

@ -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 ");
} }
} }