Ticket #11510: boost_1_59_0.unique_ptr.wshadow.patch
File boost_1_59_0.unique_ptr.wshadow.patch, 556 bytes (added by , 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 105 105 {} 106 106 107 107 template <class U> 108 unique_ptr_data(P p, BOOST_FWD_REF(U) d ) BOOST_NOEXCEPT109 : 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_)) 110 110 {} 111 111 112 112 del_ref deleter() { return d; }