mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Handling an Intel compiler warning for Json class
This commit is contained in:
parent
3274561cf8
commit
84687ccf1f
@ -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>
|
||||||
@ -1356,7 +1357,8 @@ 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user