From f083ce196fc5d32919ed42f5804300d7784b4be9 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 1 Oct 2000 14:57:44 +0000 Subject: [PATCH] suppress "qualification applied to reference" warning for MSVC [SVN r7884] --- include/boost/detail/ob_type_traits.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/detail/ob_type_traits.hpp b/include/boost/detail/ob_type_traits.hpp index bfd4fc3..b579630 100644 --- a/include/boost/detail/ob_type_traits.hpp +++ b/include/boost/detail/ob_type_traits.hpp @@ -281,6 +281,11 @@ public: && (1 == sizeof(detail::is_pointer_helper(t)))}; }; +# ifdef BOOST_MSVC +# pragma warning(push) +# pragma warning(disable: 4181) +# endif // BOOST_MSVC + //* is a type T a reference type - is_reference template struct is_reference { @@ -294,6 +299,10 @@ template <> struct is_reference enum{ value = false }; }; +# ifdef BOOST_MSVC +# pragma warning(pop) +# endif // BOOST_MSVC + //*? is a type T a union type - is_union template struct is_union { enum{ value = BOOST_IS_UNION(T) }; };