Apply warning fix for VC8 and later only: earlier versions warn about the warning suppression :-(

[SVN r41278]
This commit is contained in:
John Maddock
2007-11-21 14:03:16 +00:00
parent 8cfb381025
commit 5e7f4a9c2b

View File

@@ -249,7 +249,10 @@ struct is_convertible_basic_impl
static From _m_from;
#ifdef BOOST_MSVC
#pragma warning(push)
#pragma warning(disable:4244 6334)
#pragma warning(disable:4244)
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
#pragma warning(disable:6334)
#endif
#endif
BOOST_STATIC_CONSTANT(bool, value =
sizeof( _m_check(_m_from) ) == sizeof(::boost::type_traits::yes_type)