This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] remove name of unused parameter
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 6 Jun 2010 22:46:36 +0100
- Subject: [v3] remove name of unused parameter
Small tweak, tested x86_64/Linux and committed to trunk.
2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/ext/pointer.h (_Pointer_adapter::operator++): Remove
name of unused parameter.
Index: include/ext/pointer.h
===================================================================
--- include/ext/pointer.h (revision 160350)
+++ include/ext/pointer.h (working copy)
@@ -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);