summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index 09256b5d..7bf4fe51 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -533,6 +533,7 @@ public:
number() returns a commodity-less version of an amount. This is
useful for accessing just the numeric portion of an amount.
*/
+ commodity_t * commodity_ptr() const;
commodity_t& commodity() const;
bool has_commodity() const;