summaryrefslogtreecommitdiff
path: root/commodity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'commodity.cc')
-rw-r--r--commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/commodity.cc b/commodity.cc
index b3e8627b..1850dc14 100644
--- a/commodity.cc
+++ b/commodity.cc
@@ -182,7 +182,7 @@ amount_t commodity_t::exchange(const amount_t& amount,
basis_cost = final_cost;
amount_t ann_amount(amount);
- ann_amount.annotate_commodity(annotation_t(per_unit_cost, moment, tag));
+ ann_amount.annotate(annotation_t(per_unit_cost, moment, tag));
return ann_amount;
}