diff options
-rw-r--r-- | src/ptree.cc | 4 |
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) { |