summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-30 19:03:23 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-30 19:03:28 -0400
commit63aa8992a81dfaececa4a9b38ba8daf29b57912e (patch)
tree808871837734f3779c369e71774f30fde7d89034 /src/session.h
parenta3799eebdb682162eb1edb3706a6ff1097b12f41 (diff)
downloadfork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.tar.gz
fork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.tar.bz2
fork-ledger-63aa8992a81dfaececa4a9b38ba8daf29b57912e.zip
Moved ownership of master account into journal_t
The journal_t now completely represents the data part of a session.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/session.h b/src/session.h
index 4955053d..48960745 100644
--- a/src/session.h
+++ b/src/session.h
@@ -66,12 +66,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<commodity_pool_t> commodity_pool;
- scoped_ptr<account_t> master;
- scoped_ptr<journal_t> journal;
+ bool flush_on_next_data_file;
+ date_t::year_type current_year;
+ shared_ptr<journal_t> journal;
explicit session_t();
virtual ~session_t() {