Fixes for variable shadowing (20/28)

This commit is contained in:
John Wiegley 2012-02-17 14:29:37 -06:00
parent 07a3262755
commit ad79230158

View file

@ -641,10 +641,10 @@ void post_t::add_to_value(value_t& value, const optional<expr_t&>& expr) const
}
}
void post_t::set_reported_account(account_t * account)
void post_t::set_reported_account(account_t * acct)
{
xdata().account = account;
account->xdata().reported_posts.push_back(this);
xdata().account = acct;
acct->xdata().reported_posts.push_back(this);
}
void to_xml(std::ostream& out, const post_t& post)