From c6a6a024f7d45e6e4ba85727993622a5812cb0d8 Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 6 Mar 2016 20:03:05 +0100 Subject: [PATCH] fixes #214 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14663e17..4a32513a 100644 --- a/README.md +++ b/README.md @@ -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'; }