re PR libstdc++/29224 (-Wshadow causing warning in <tr1/functional>)

2006-09-26  Howard Hinnant  <hhinnant@apple.com>

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

From-SVN: r117222
This commit is contained in:
Howard Hinnant 2006-09-26 00:59:37 +00:00 committed by Paolo Carlini
parent 79c0cc65b3
commit 21c9e2b609
2 changed files with 10 additions and 5 deletions

View 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

View 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