summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 1 insertions, 1 deletions
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<datetime_t>& moment = none,
const optional<commodity_t&>& in_terms_of = none) const;
- amount_t price() const;
+ optional<amount_t> price() const;
/*@}*/