diff options
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r-- | src/py_journal.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc index fc4f671b..a06ef8e2 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -174,8 +174,7 @@ namespace { report_t& current_report(downcast<report_t>(*scope_t::default_scope)); shared_ptr<collector_wrapper> coll(new collector_wrapper(journal, current_report)); - std::auto_ptr<journal_t> save_journal - (current_report.session.journal.release()); + unique_ptr<journal_t> save_journal(current_report.session.journal.release()); current_report.session.journal.reset(&journal); try { |