OSDN Git Service

2010-06-06 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jun 2010 21:46:38 +0000 (21:46 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Jun 2010 21:46:38 +0000 (21:46 +0000)
* include/ext/pointer.h (_Pointer_adapter::operator++): Remove
name of unused parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160351 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pointer.h

index 44a1662..ddc0a5a 100644 (file)
@@ -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.
index ddb5f3c..8055df2 100644 (file)
@@ -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);