From 303976e563608d8a1f4eb09ac5c9402ae5ce74fd Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 18 May 2012 01:47:04 -0600 Subject: Fixed a variable name shadowing --- src/ptree.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ptree.cc') 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) { -- cgit v1.2.3