summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 22:39:41 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 22:39:41 -0500
commit2208ac1226bb3be82be550d465f08fc1dd7c1bae (patch)
tree35ac78b7e439263c24a14c1fe214fd5db61745f9 /src/report.cc
parente0c42ff44352b414e8a6ea3ba735afea98db6d18 (diff)
downloadfork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.gz
fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.bz2
fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.zip
Fixes for compilation as C++0x code
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index e98596a3..48b47b66 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -414,7 +414,7 @@ void report_t::accounts_report(acct_handler_ptr handler)
chain_post_handlers(post_handler_ptr(new ignore_posts), *this,
/* for_accounts_report= */ true);
if (HANDLED(group_by_)) {
- std::auto_ptr<post_splitter>
+ unique_ptr<post_splitter>
splitter(new post_splitter(chain, *this, HANDLER(group_by_).expr));
splitter->set_preflush_func(accounts_title_printer(handler, *this));