From 80cdecaaddae07593824370360931ebb7ede0c25 Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 27 Dec 2015 18:07:21 +0100 Subject: [PATCH] fixed a cppcheck warning --- src/json.hpp | 2 +- src/json.hpp.re2c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 2c4fcc6f..6e5f515a 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -5501,7 +5501,7 @@ class basic_json } /// inequality operator (needed for range-based for) - bool operator!= (const iteration_proxy_internal& o) + bool operator!= (const iteration_proxy_internal& o) const { return anchor != o.anchor; } diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index a5cf1db4..09bba9cd 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -5501,7 +5501,7 @@ class basic_json } /// inequality operator (needed for range-based for) - bool operator!= (const iteration_proxy_internal& o) + bool operator!= (const iteration_proxy_internal& o) const { return anchor != o.anchor; }