summaryrefslogtreecommitdiff
path: root/quotes.h
diff options
context:
space:
mode:
Diffstat (limited to 'quotes.h')
-rw-r--r--quotes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotes.h b/quotes.h
index 53008aa0..72d0589e 100644
--- a/quotes.h
+++ b/quotes.h
@@ -5,7 +5,7 @@
namespace ledger {
-class quotes_by_script : public commodity_t::updater_t
+class quotes_by_script : public commodity_base_t::updater_t
{
std::string price_db;
unsigned long pricing_leeway;
@@ -18,7 +18,7 @@ class quotes_by_script : public commodity_t::updater_t
: price_db(_price_db), pricing_leeway(_pricing_leeway),
cache_dirty(_cache_dirty) {}
- virtual void operator()(commodity_t& commodity,
+ virtual void operator()(commodity_base_t& commodity,
const std::time_t moment,
const std::time_t date,
const std::time_t last,