Commit c6a6a024 authored by Niels's avatar Niels
Browse files

fixes #214

parent 10a88447
......@@ -204,7 +204,7 @@ for (json::iterator it = j.begin(); it != j.end(); ++it) {
}
// range-based for
for (auto element : j) {
for (auto& element : j) {
std::cout << element << '\n';
}
......
Supports Markdown
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