Ticket #1507: visitation_impl.patch

File visitation_impl.patch, 772 bytes (added by Richard Webb <richard.webb@…>, 14 years ago)
  • visitation_impl.hpp

     
    3535#include "boost/type_traits/has_nothrow_copy.hpp"
    3636#include "boost/variant/detail/has_nothrow_move.hpp"
    3737
     38#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     39# pragma warning (push)
     40# pragma warning (disable : 4702) //unreachable code
     41#endif
    3842
    3943///////////////////////////////////////////////////////////////////////////////
    4044// BOOST_VARIANT_VISITATION_UNROLLING_LIMIT
     
    283287}} // namespace detail::variant
    284288} // namespace boost
    285289
     290#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     291# pragma warning(pop)
     292#endif
     293
    286294#endif // BOOST_VARIANT_DETAIL_VISITATION_IMPL_HPP