From 33fbb3584a1c3836cf54d1346a76f7d6e7db5331 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 15 Apr 2014 21:15:38 +0100 Subject: [PATCH] shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Remove name of unused parameter. * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Remove name of unused parameter. From-SVN: r209434 --- 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 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; -- 2.47.2