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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user