From cbb9fecd92228c1ee62af3622ae1e5ab3a93c35a Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 14 Sep 2018 17:40:36 +0100 Subject: [PATCH] Fix #pragma push/pop mismatch in is_virtual_base_of.hpp Fixes https://github.com/boostorg/type_traits/issues/91. --- include/boost/type_traits/is_virtual_base_of.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/type_traits/is_virtual_base_of.hpp b/include/boost/type_traits/is_virtual_base_of.hpp index c3d7684..60ffbc8 100644 --- a/include/boost/type_traits/is_virtual_base_of.hpp +++ b/include/boost/type_traits/is_virtual_base_of.hpp @@ -127,10 +127,6 @@ namespace boost { BOOST_STATIC_CONSTANT(bool, value = imp::value); }; -#ifdef BOOST_MSVC -#pragma warning( pop ) -#endif - } // namespace detail template struct is_virtual_base_of : public integral_constant::value)> {}; @@ -141,6 +137,10 @@ template struct is_virtual_base_of : template struct is_virtual_base_of : public false_type{}; template struct is_virtual_base_of : public false_type{}; +#ifdef BOOST_MSVC +#pragma warning( pop ) +#endif + } // namespace boost #endif