diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 760cdb33a5d4..09dd0f7e0437 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -56,6 +56,9 @@ * include/experimental/string_view: Fix inconsistent exception specs. + * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): + Remove name of unused parameter. + 2014-04-14 Jonathan Wakely * include/bits/stl_vector.h (_Vector_base::_Vector_impl, diff --git a/libstdc++-v3/include/bits/shared_ptr.h b/libstdc++-v3/include/bits/shared_ptr.h index 104c869ce303..290a0c983a39 100644 --- a/libstdc++-v3/include/bits/shared_ptr.h +++ b/libstdc++-v3/include/bits/shared_ptr.h @@ -262,7 +262,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * @param __p A null pointer constant. * @post use_count() == 0 && get() == nullptr */ - constexpr shared_ptr(nullptr_t __p) noexcept : shared_ptr() { } + constexpr shared_ptr(nullptr_t) noexcept : shared_ptr() { } shared_ptr& operator=(const shared_ptr&) noexcept = default;