summaryrefslogtreecommitdiff
path: root/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-21 19:11:59 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:31 -0400
commit964e74e333cb20d3519be64f79e19224f2bcc84e (patch)
tree091709de380be422f2d486ebac01d8aaf180faa3 /amount.h
parentc8ebf53ed88210f5ff76ed32a0e7980bf735e3dc (diff)
downloadledger-964e74e333cb20d3519be64f79e19224f2bcc84e.tar.gz
ledger-964e74e333cb20d3519be64f79e19224f2bcc84e.tar.bz2
ledger-964e74e333cb20d3519be64f79e19224f2bcc84e.zip
*** empty log message ***
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