diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-12 03:32:10 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-12 03:32:10 -0500 |
commit | b2b0ae37e82fe6c480b7e6527e67cce168687679 (patch) | |
tree | ed7b900dc18bca311f1423d16b5c02bd42d137c3 /src/session.h | |
parent | b5dca6739687f3672ef0114a70c2f514707dc28b (diff) | |
download | fork-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.h | 6 |
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() { |