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:
Jonathan Wakely 2010-06-06 21:46:38 +00:00 committed by Jonathan Wakely
parent f842d54f47
commit d156668fd7
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/40296 PR libstdc++/40296

View File

@ -1,6 +1,6 @@
// Custom pointer adapter and sample storage policies // 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 // 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 // software; you can redistribute it and/or modify it under the
@ -447,7 +447,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
} }
inline _Pointer_adapter inline _Pointer_adapter
operator++(int __unused) operator++(int)
{ {
_Pointer_adapter tmp(*this); _Pointer_adapter tmp(*this);
_Storage_policy::set(_Storage_policy::get() + 1); _Storage_policy::set(_Storage_policy::get() + 1);