summaryrefslogtreecommitdiff
path: root/quotes.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-29 04:31:59 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-29 04:31:59 -0400
commit2d62f7b633bdaa39c650bb67425514cf1e66a4dd (patch)
treeffe42356e5e83f2cbc2cce74a8566ea1ac738e8b /quotes.h
parent032afa5657bd600476cde256b6d7db84fde7d038 (diff)
downloadfork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.tar.gz
fork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.tar.bz2
fork-ledger-2d62f7b633bdaa39c650bb67425514cf1e66a4dd.zip
redid the way amount_t::commodity is handled; no more direct access
Diffstat (limited to 'quotes.h')
-rw-r--r--quotes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotes.h b/quotes.h
index 8418b074..53008aa0 100644
--- a/quotes.h
+++ b/quotes.h
@@ -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_t& commodity,
const std::time_t moment,
const std::time_t date,
const std::time_t last,