mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 12:35:05 +08:00
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:
parent
b9de84c92d
commit
33fbb3584a
@ -56,6 +56,9 @@
|
|||||||
|
|
||||||
* include/experimental/string_view: Fix inconsistent exception specs.
|
* 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>
|
2014-04-14 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
* include/bits/stl_vector.h (_Vector_base::_Vector_impl,
|
* include/bits/stl_vector.h (_Vector_base::_Vector_impl,
|
||||||
|
@ -262,7 +262,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|||||||
* @param __p A null pointer constant.
|
* @param __p A null pointer constant.
|
||||||
* @post use_count() == 0 && get() == nullptr
|
* @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;
|
shared_ptr& operator=(const shared_ptr&) noexcept = default;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user