mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +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
|
||||
*/
|
||||
#pragma warning disable 488 //disables and intel compiler specific warning
|
||||
template<typename T, typename std::enable_if<
|
||||
not (std::is_same<T, int>::value) and
|
||||
std::is_same<T, number_integer_t>::value, int>::type = 0>
|
||||
@ -1356,7 +1357,8 @@ class basic_json
|
||||
{
|
||||
assert_invariant();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*!
|
||||
@brief create an integer number from an enum type (explicit)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user