2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-19 02:32:09 +00:00

changes to correct shadow warnings

This commit is contained in:
John Fletcher
2014-02-07 17:53:31 +00:00
parent db1f0eed55
commit 5adc3aba25
4 changed files with 9 additions and 9 deletions

View File

@@ -28,8 +28,8 @@ namespace boost { namespace phoenix { namespace detail
{
typedef typename member_function_ptr_impl<N>::
template impl<RT, FP> base;
member_function_ptr(FP fp)
: base(fp) {}
member_function_ptr(FP fp_)
: base(fp_) {}
using base::fp;

View File

@@ -43,8 +43,8 @@ namespace boost { namespace phoenix { namespace detail {
type;
};
member_variable(MP mp)
: mp(mp) {}
member_variable(MP mp_)
: mp(mp_) {}
template <typename Class>
RT& operator()(Class& obj) const

View File

@@ -337,8 +337,8 @@ namespace boost { namespace phoenix
template <typename Locals, typename Map>
struct lambda_actor_gen<Locals, Map>
{
lambda_actor_gen(Locals const & locals)
: locals(locals)
lambda_actor_gen(Locals const & locals_)
: locals(locals_)
{}
lambda_actor_gen(lambda_actor_gen const & o)

View File

@@ -44,13 +44,13 @@ namespace boost { namespace phoenix
template <typename Cond>
struct while_gen
{
while_gen(Cond const& cond) : cond(cond) {}
while_gen(Cond const& cond_) : cond(cond_) {}
template <typename Do>
typename expression::while_<Cond, Do>::type const
operator[](Do const& do_) const
operator[](Do const& do_it) const
{
return expression::while_<Cond, Do>::make(cond, do_);
return expression::while_<Cond, Do>::make(cond, do_it);
}
Cond const& cond;