Fixed Trac #11510 ("unique_ptr: -Wshadow warning issued")

This commit is contained in:
Ion Gaztañaga committed 2015-07-31 21:54:35 +02:00
1 parent 49a42a2fff
commit b88cfcaf84
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -105,8 +105,8 @@ struct unique_ptr_data
{}
template <class U>
unique_ptr_data(P p, BOOST_FWD_REF(U) d) BOOST_NOEXCEPT
: m_p(p), d(::boost::forward<U>(d))
unique_ptr_data(P p, BOOST_FWD_REF(U) d1) BOOST_NOEXCEPT
: m_p(p), d(::boost::forward<U>(d1))
{}
del_ref deleter() { return d; }