Ticket #11510: boost_1_59_0.unique_ptr.wshadow.patch

File boost_1_59_0.unique_ptr.wshadow.patch, 556 bytes (added by davido, 7 years ago)
  • boost/move/unique_ptr.hpp

    diff -ru boost.orig/boost/move/unique_ptr.hpp boost/boost/move/unique_ptr.hpp
    old new  
    105105   {}
    106106
    107107   template <class U>
    108    unique_ptr_data(P p, BOOST_FWD_REF(U) d) BOOST_NOEXCEPT
    109       : m_p(p), d(::boost::forward<U>(d))
     108   unique_ptr_data(P p, BOOST_FWD_REF(U) d_) BOOST_NOEXCEPT
     109      : m_p(p), d(::boost::forward<U>(d_))
    110110   {}
    111111
    112112   del_ref deleter()       { return d; }