summaryrefslogtreecommitdiff
path: root/src/ptree.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-18 01:47:04 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-05-18 01:47:04 -0600
commit303976e563608d8a1f4eb09ac5c9402ae5ce74fd (patch)
tree3e6c6690d804983afe861905b7123bfddb7297af /src/ptree.cc
parent7e8ba51cd0fc94776b8f687736202a25ddc39f15 (diff)
downloadfork-ledger-303976e563608d8a1f4eb09ac5c9402ae5ce74fd.tar.gz
fork-ledger-303976e563608d8a1f4eb09ac5c9402ae5ce74fd.tar.bz2
fork-ledger-303976e563608d8a1f4eb09ac5c9402ae5ce74fd.zip
Fixed a variable name shadowing
Diffstat (limited to 'src/ptree.cc')
-rw-r--r--src/ptree.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ptree.cc b/src/ptree.cc
index ca343072..db523e99 100644
--- a/src/ptree.cc
+++ b/src/ptree.cc
@@ -67,11 +67,11 @@ void format_ptree::flush()
foreach (const xact_t * xact, transactions) {
put_xact(tt, *xact);
- property_tree::ptree& pt(tt.put("postings", ""));
+ property_tree::ptree& post_t(tt.put("postings", ""));
foreach (const post_t * post, xact->posts)
if (post->has_xdata() &&
post->xdata().has_flags(POST_EXT_VISITED))
- put_post(pt, *post);
+ put_post(post_t, *post);
}
switch (format) {