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
This commit is contained in:
Jonathan Wakely 2014-04-15 21:15:38 +01:00 committed by Jonathan Wakely
parent b9de84c92d
commit 33fbb3584a
2 changed files with 4 additions and 1 deletions

View 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,

View 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;