Skip to content

Commit

Permalink
fixes #214
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Mar 6, 2016
1 parent 10a8844 commit c6a6a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit c6a6a02

Please sign in to comment.