From 84687ccf1fc4692f26ebed698438595e1b25edfe Mon Sep 17 00:00:00 2001 From: Guido Cossu Date: Thu, 9 Feb 2017 15:33:33 +0000 Subject: [PATCH] Handling an Intel compiler warning for Json class --- lib/json/json.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/json/json.hpp b/lib/json/json.hpp index 9d48e7a6..9423521e 100644 --- a/lib/json/json.hpp +++ b/lib/json/json.hpp @@ -1348,6 +1348,7 @@ class basic_json @since version 1.0.0 */ +#pragma warning disable 488 //disables and intel compiler specific warning template::value) and std::is_same::value, int>::type = 0> @@ -1356,7 +1357,8 @@ class basic_json { assert_invariant(); } - + + /*! @brief create an integer number from an enum type (explicit)