re PR libstdc++/29224 (-Wshadow causing warning in <tr1/functional>)
authorHoward Hinnant <hhinnant@apple.com>
Tue, 26 Sep 2006 00:59:37 +0000 (00:59 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 26 Sep 2006 00:59:37 +0000 (00:59 +0000)
2006-09-26  Howard Hinnant  <hhinnant@apple.com>

PR libstdc++/29224
* include/tr1/functional_iterate.h: Avoid -Wshadow warnings.

From-SVN: r117222

libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1/functional_iterate.h

index 410f39f7f29209b04138972518d1c1d0e6ee42ea..839ad0a730456a4061f101d8c1a53b53c2d5ec73 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-26  Howard Hinnant  <hhinnant@apple.com>
+
+       PR libstdc++/29224
+       * include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
+
 2006-09-25  Paolo Carlini  <pcarlini@suse.de>
 
        PR libstdc++/29179
index 0b039f944f6de1e88de8c92e6d7ce8e4beebc049..4a74f83efec9f343571f907720fcf11b0c50e90d 100644 (file)
@@ -1,6 +1,6 @@
 // TR1 functional -*- C++ -*-
 
-// Copyright (C) 2005 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 // Written by Douglas Gregor <doug.gregor -at- gmail.com>
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -195,7 +195,7 @@ template<typename _Res, typename _Class _GLIBCXX_COMMA_SHIFTED
   public:
     typedef _Res result_type;
 
-    explicit _Mem_fn(_Functor __pmf) : __pmf(__pmf) { }
+    explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
 
     // Handle objects
     _Res
@@ -249,7 +249,7 @@ template<typename _Res, typename _Class _GLIBCXX_COMMA_SHIFTED
   public:
     typedef _Res result_type;
 
-    explicit _Mem_fn(_Functor __pmf) : __pmf(__pmf) { }
+    explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
 
     // Handle objects
     _Res
@@ -303,7 +303,7 @@ template<typename _Res, typename _Class _GLIBCXX_COMMA_SHIFTED
   public:
     typedef _Res result_type;
 
-    explicit _Mem_fn(_Functor __pmf) : __pmf(__pmf) { }
+    explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
 
     // Handle objects
     _Res
@@ -357,7 +357,7 @@ template<typename _Res, typename _Class _GLIBCXX_COMMA_SHIFTED
   public:
     typedef _Res result_type;
 
-    explicit _Mem_fn(_Functor __pmf) : __pmf(__pmf) { }
+    explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
 
     // Handle objects
     _Res