diff options
Diffstat (limited to 'src/quotes.cc')
-rw-r--r-- | src/quotes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quotes.cc b/src/quotes.cc index d5dbd4fe..07417800 100644 --- a/src/quotes.cc +++ b/src/quotes.cc @@ -60,7 +60,7 @@ quotes_by_script::operator()(commodity_t& commodity, (last && (now - *last) < pricing_leeway) || (moment && date && *moment > *date && (*moment - *date) <= pricing_leeway)) - return optional<amount_t>(); + return none; DEBUG_("downloading quote for symbol " << commodity.symbol()); @@ -111,7 +111,7 @@ quotes_by_script::operator()(commodity_t& commodity, "Failed to download price for '" << commodity.symbol() << "' (command: \"getquote " << commodity.base_symbol() << "\")"); } - return optional<amount_t>(); + return none; } } // namespace ledger |