From 9ddc69f3a9a3b6579830dbc3a22dfdcc07a65e9b Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 20 May 2017 10:49:06 +0200 Subject: [PATCH] :bug: adjusting fix for future versions #586 --- src/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json.hpp b/src/json.hpp index 7bfb73597..f522dea56 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -3742,7 +3742,7 @@ class basic_json #ifndef _MSC_VER // fix for issue #167 operator<< ambiguity under VS2015 and not std::is_same>::value #endif -#if (defined(__cplusplus) && __cplusplus == 201703L) || (defined(_MSC_VER) && _MSC_VER >1900 && defined(_HAS_CXX17) && _HAS_CXX17 == 1) // fix for issue #464 +#if (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_MSC_VER) && _MSC_VER >1900 && defined(_HAS_CXX17) && _HAS_CXX17 == 1) // fix for issue #464 and not std::is_same::value #endif , int >::type = 0 >