This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]