From 64429f5fe967b92d7090c1c6f333f89658a02bbc Mon Sep 17 00:00:00 2001 From: redi Date: Tue, 15 Apr 2014 20:15:38 +0000 Subject: [PATCH] * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Remove name of unused parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209434 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/bits/shared_ptr.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 760cdb33a5d..09dd0f7e043 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 104c869ce30..290a0c983a3 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; -- 2.11.4.GIT