summaryrefslogtreecommitdiff
path: root/src/driver/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/session.cc')
-rw-r--r--src/driver/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/session.cc b/src/driver/session.cc
index 71f5f349..98ae9613 100644
--- a/src/driver/session.cc
+++ b/src/driver/session.cc
@@ -178,7 +178,7 @@ std::size_t session_t::read_data(xml::builder_t& builder,
DEBUG("ledger.cache", "using_cache " << cache_file->string());
cache_dirty = true;
if (exists(*cache_file)) {
- scoped_variable<optional<path> >
+ push_variable<optional<path> >
save_price_db(journal->price_db, price_db);
entry_count += read_journal(*cache_file, builder);