This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] libstdc++/29224
- From: Paolo Carlini <pcarlini at suse dot de>
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Sep 2006 03:02:09 +0200
- Subject: [v3] libstdc++/29224
Hi,
tested x86-linux, applied mainline and 4_1-branch.
Paolo.
/////////////////
2006-09-26 Howard Hinnant <hhinnant@apple.com>
PR libstdc++/29224
* include/tr1/functional_iterate.h: Avoid -Wshadow warnings.
Index: include/tr1/functional_iterate.h
===================================================================
--- include/tr1/functional_iterate.h (revision 117192)
+++ include/tr1/functional_iterate.h (working copy)
@@ -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 @@
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 @@
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 @@
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 @@
public:
typedef _Res result_type;
- explicit _Mem_fn(_Functor __pmf) : __pmf(__pmf) { }
+ explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
// Handle objects
_Res