summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-12 03:32:10 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-12 03:32:10 -0500
commitb2b0ae37e82fe6c480b7e6527e67cce168687679 (patch)
treeed7b900dc18bca311f1423d16b5c02bd42d137c3 /src/session.h
parentb5dca6739687f3672ef0114a70c2f514707dc28b (diff)
downloadfork-ledger-b2b0ae37e82fe6c480b7e6527e67cce168687679.tar.gz
fork-ledger-b2b0ae37e82fe6c480b7e6527e67cce168687679.tar.bz2
fork-ledger-b2b0ae37e82fe6c480b7e6527e67cce168687679.zip
session_t now holds a std::auto_prt<journal_t>
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.h b/src/session.h
index bde37f46..5c4612a0 100644
--- a/src/session.h
+++ b/src/session.h
@@ -58,9 +58,9 @@ class session_t : public symbol_scope_t
friend void set_session_context(session_t * session);
public:
- bool flush_on_next_data_file;
- date_t::year_type current_year;
- shared_ptr<journal_t> journal;
+ bool flush_on_next_data_file;
+ date_t::year_type current_year;
+ std::auto_ptr<journal_t> journal;
explicit session_t();
virtual ~session_t() {