summaryrefslogtreecommitdiff
path: root/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'amount.h')
-rw-r--r--amount.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/amount.h b/amount.h
index f959bc6e..05508814 100644
--- a/amount.h
+++ b/amount.h
@@ -551,12 +551,12 @@ public:
* amount_t::keep_price, amount_t::keep_date and amount_t::keep_tag
* have been set to (which all default to false).
*/
- void annotate_commodity(const annotation_t& details);
- bool commodity_annotated() const;
+ void annotate(const annotation_t& details);
+ bool annotated() const;
- annotation_t& annotation_details();
- const annotation_t& annotation_details() const {
- return const_cast<amount_t&>(*this).annotation_details();
+ annotation_t& annotation();
+ const annotation_t& annotation() const {
+ return const_cast<amount_t&>(*this).annotation();
}
amount_t strip_annotations(const bool _keep_price = keep_price,