fixes #214
This commit is contained in:
parent
10a884473e
commit
c6a6a024f7
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ for (json::iterator it = j.begin(); it != j.end(); ++it) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// range-based for
|
// range-based for
|
||||||
for (auto element : j) {
|
for (auto& element : j) {
|
||||||
std::cout << element << '\n';
|
std::cout << element << '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue