mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 13:36:01 +08:00
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
This commit is contained in:
parent
f842d54f47
commit
d156668fd7
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user