From ec1f15a4b2ae706dd99aff0d506977486ffef08b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 10:32:35 -0600 Subject: Made amount_t::price return an optional --- src/amount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amount.h') diff --git a/src/amount.h b/src/amount.h index 1db59b7e..09256b5d 100644 --- a/src/amount.h +++ b/src/amount.h @@ -407,7 +407,7 @@ public: value(const optional& moment = none, const optional& in_terms_of = none) const; - amount_t price() const; + optional price() const; /*@}*/ -- cgit v1.2.3