Ticket #3317: boost-is_virtual_base_of-exception-specificiton.patch

File boost-is_virtual_base_of-exception-specificiton.patch, 695 bytes (added by thomas.jarosch@…, 13 years ago)

Fix for the issue

  • boost/type_traits/is_virtual_base_of.hpp

    diff -u -r -p boost_1_39_0/boost/type_traits/is_virtual_base_of.hpp boost.throw/boost/type_traits/is_virtual_base_of.hpp
    old new struct is_virtual_base_of_impl<Base, Der  
    5757       X();
    5858       X(const X&);
    5959       X& operator=(const X&);
    60        ~X();
     60       ~X() throw();
    6161    };
    6262    struct Y : Derived
    6363    {
    6464       Y();
    6565       Y(const Y&);
    6666       Y& operator=(const Y&);
    67        ~Y();
     67       ~Y() throw();
    6868    };
    6969#endif
    7070    BOOST_STATIC_CONSTANT(bool, value = (sizeof(X)==sizeof(Y)));