summaryrefslogtreecommitdiff
path: root/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'amount.h')
-rw-r--r--amount.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/amount.h b/amount.h
index b0712ca3..dfef8d06 100644
--- a/amount.h
+++ b/amount.h
@@ -606,6 +606,10 @@ class amount_error : public error {
virtual ~amount_error() throw() {}
};
+struct compare_amount_commodities {
+ bool operator()(const amount_t * left, const amount_t * right) const;
+};
+
} // namespace ledger
#endif // _AMOUNT_H