1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00

Handling an Intel compiler warning for Json class

This commit is contained in:
Guido Cossu 2017-02-09 15:33:33 +00:00
parent 3274561cf8
commit 84687ccf1f

View File

@ -1348,6 +1348,7 @@ class basic_json
@since version 1.0.0 @since version 1.0.0
*/ */
#pragma warning disable 488 //disables and intel compiler specific warning
template<typename T, typename std::enable_if< template<typename T, typename std::enable_if<
not (std::is_same<T, int>::value) and not (std::is_same<T, int>::value) and
std::is_same<T, number_integer_t>::value, int>::type = 0> std::is_same<T, number_integer_t>::value, int>::type = 0>
@ -1357,6 +1358,7 @@ class basic_json
assert_invariant(); assert_invariant();
} }
/*! /*!
@brief create an integer number from an enum type (explicit) @brief create an integer number from an enum type (explicit)