diff options
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.cc b/src/session.cc index 9fb8df46..0d6a6829 100644 --- a/src/session.cc +++ b/src/session.cc @@ -106,7 +106,7 @@ std::size_t session_t::read_data(const string& master_account) if (! (cache && cache->should_load(HANDLER(file_).data_files) && - cache->load(journal))) { + cache->load(*journal.get()))) { #endif // HAVE_BOOST_SERIALIZATION if (price_db_path) { if (exists(*price_db_path)) { @@ -142,8 +142,8 @@ std::size_t session_t::read_data(const string& master_account) assert(xact_count == journal->xacts.size()); #if defined(HAVE_BOOST_SERIALIZATION) - if (cache && cache->should_save(journal)) - cache->save(journal); + if (cache && cache->should_save(*journal.get())) + cache->save(*journal.get()); } #endif // HAVE_BOOST_SERIALIZATION |