mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Disable 'conditional expression is constant' on older Visual C++
This commit is contained in:
@ -26,9 +26,9 @@
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#if BOOST_MSVC >= 1400
|
||||
// conditional expression is constant
|
||||
#pragma warning(disable : 4127)
|
||||
#if BOOST_MSVC >= 1400
|
||||
// the inline specifier cannot be used when a friend declaration refers to a
|
||||
// specialization of a function template
|
||||
#pragma warning(disable : 4396)
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#pragma warning(push)
|
||||
#if BOOST_MSVC >= 1400
|
||||
// conditional expression is constant
|
||||
#pragma warning(disable : 4127)
|
||||
#if BOOST_MSVC >= 1400
|
||||
// the inline specifier cannot be used when a friend declaration refers to a
|
||||
// specialization of a function template
|
||||
#pragma warning(disable : 4396)
|
||||
|
Reference in New Issue
Block a user