diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-17 14:29:37 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-17 15:06:20 -0600 |
commit | ad792301585c285e50744ab2fa2c5de1c9d8b5e3 (patch) | |
tree | 71a2a3f93a37bad4e00ad70d48037d50016f1b2b /src/post.cc | |
parent | 07a32627554e23a001495b4ae2e486b7a6ae00db (diff) | |
download | fork-ledger-ad792301585c285e50744ab2fa2c5de1c9d8b5e3.tar.gz fork-ledger-ad792301585c285e50744ab2fa2c5de1c9d8b5e3.tar.bz2 fork-ledger-ad792301585c285e50744ab2fa2c5de1c9d8b5e3.zip |
Fixes for variable shadowing (20/28)
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post.cc b/src/post.cc index 862460df..cec1179f 100644 --- a/src/post.cc +++ b/src/post.cc @@ -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) |