From c417630abe0e95a9c0c1a585e6e7345d8efd7d87 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Wed, 14 Oct 2015 17:15:24 +0200 Subject: [PATCH] Same fix, but for non-const iterator --- lib/json.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/json.cpp b/lib/json.cpp index 3e1ee750..1b0f305b 100644 --- a/lib/json.cpp +++ b/lib/json.cpp @@ -59,6 +59,7 @@ JSON::Iter & JSON::Iter::operator++(){ ++oIt; } } + return *this; } /// Return the name of the current indice.