pull/222/head
Niels 2016-03-06 20:03:05 +01:00
parent 10a884473e
commit c6a6a024f7
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}