From 9509a7b8819c3ce1fd2680de65f9bd8098ac6961 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 6 Mar 2012 02:00:49 -0600 Subject: Made commodity_t::find_price a virtual function --- src/commodity.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commodity.h') 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& _oldest = none); optional - find_price(const optional& commodity = none, - const optional& moment = none, - const optional& oldest = none) const; + virtual find_price(const optional& commodity = none, + const optional& moment = none, + const optional& oldest = none) const; optional check_for_updated_price(const optional& point, -- cgit v1.2.3