summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 7934f1ad..5cf9c53d 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -268,9 +268,9 @@ public:
const optional<datetime_t>& _oldest = none);
optional<price_point_t>
- find_price(const optional<commodity_t&>& commodity = none,
- const optional<datetime_t>& moment = none,
- const optional<datetime_t>& oldest = none) const;
+ virtual find_price(const optional<commodity_t&>& commodity = none,
+ const optional<datetime_t>& moment = none,
+ const optional<datetime_t>& oldest = none) const;
optional<price_point_t>
check_for_updated_price(const optional<price_point_t>& point,