From 836fdfedf2b8b1d9fb4b6bd5431a1d4a1e7a5331 Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 14 Feb 2016 16:53:32 +0100 Subject: [PATCH] fixed an error in MSVC --- 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 e3caae435..6caa8defc 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -6191,7 +6191,7 @@ class basic_json } /// inequality operator (needed for range-based for) - constexpr bool operator!= (const iteration_proxy_internal& o) const + 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 096c22cb9..7f311ef93 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -6191,7 +6191,7 @@ class basic_json } /// inequality operator (needed for range-based for) - constexpr bool operator!= (const iteration_proxy_internal& o) const + bool operator!= (const iteration_proxy_internal& o) const { return anchor != o.anchor; }