From 8276b51f5692796bfdf75dd64f709e0de1c7caaf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 31 Jul 2008 04:28:58 -0400 Subject: A new binary_cache_t object has been creating to manage saving and restoring a Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now. --- session.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'session.h') diff --git a/session.h b/session.h index 5f064fb2..0eeb1e27 100644 --- a/session.h +++ b/session.h @@ -84,17 +84,14 @@ public: ptr_list journals; ptr_list parsers; - - account_t * master; - mutable accounts_map accounts_cache; + scoped_ptr commdity_pool; + scoped_ptr master; + mutable accounts_map accounts_cache; session_t(); virtual ~session_t() { TRACE_DTOR(session_t); - - assert(master); - checked_delete(master); } journal_t * create_journal() { -- cgit v1.2.3