]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Remove name of unused parameter.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Apr 2014 20:15:38 +0000 (21:15 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 15 Apr 2014 20:15:38 +0000 (21:15 +0100)
* include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)):
Remove name of unused parameter.

From-SVN: r209434

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr.h

index 760cdb33a5d41fa39df958d0212ce183fd81c055..09dd0f7e0437eb6ffa0f4a17c7ddbd1443e7a14d 100644 (file)
@@ -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  <jwakely@redhat.com>
 
        * include/bits/stl_vector.h (_Vector_base::_Vector_impl,
index 104c869ce303d16f35bc365139d6c981038e843a..290a0c983a39778515c2bf5b54c2f3d0c768ba39 100644 (file)
@@ -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;