diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2010-06-06 21:46:38 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2010-06-06 22:46:38 +0100 |
commit | d156668fd74f815d2898c828c2385e9512e91827 (patch) | |
tree | 5ff5d0bec6bf333225bc495a9ef3267453e6b078 | |
parent | f842d54f47c120d224f51f699ac6932d2eae52af (diff) | |
download | gcc-d156668fd74f815d2898c828c2385e9512e91827.zip gcc-d156668fd74f815d2898c828c2385e9512e91827.tar.gz gcc-d156668fd74f815d2898c828c2385e9512e91827.tar.bz2 |
pointer.h (_Pointer_adapter::operator++): Remove name of unused parameter.
2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/ext/pointer.h (_Pointer_adapter::operator++): Remove
name of unused parameter.
From-SVN: r160351
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/pointer.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44a1662..ddc0a5a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com> + * include/ext/pointer.h (_Pointer_adapter::operator++): Remove + name of unused parameter. + +2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com> + PR libstdc++/40296 * libsupc++/exception_ptr.h (exception_ptr::exception_ptr): Replace __safe_bool constructor with nullptr_t constructor in C++0x mode. diff --git a/libstdc++-v3/include/ext/pointer.h b/libstdc++-v3/include/ext/pointer.h index ddb5f3c..8055df2 100644 --- a/libstdc++-v3/include/ext/pointer.h +++ b/libstdc++-v3/include/ext/pointer.h @@ -1,6 +1,6 @@ // Custom pointer adapter and sample storage policies -// Copyright (C) 2008, 2009 Free Software Foundation, Inc. +// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -447,7 +447,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) } inline _Pointer_adapter - operator++(int __unused) + operator++(int) { _Pointer_adapter tmp(*this); _Storage_policy::set(_Storage_policy::get() + 1); |