diff options
author | John Wiegley <johnw@newartisans.com> | 2010-02-05 05:35:14 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-02-05 05:35:14 -0500 |
commit | 547137096051ab985dca6f8e5c7be191b62ccb0c (patch) | |
tree | 2f3a39c4b71b8cb8b232502401e8dd2c8c2247ef /src/commodity.cc | |
parent | c6873d32aa121289e87be7eb16ff531c6d468d2a (diff) | |
parent | 69da18cd303b10f9badd542141ffdfd546009508 (diff) | |
download | fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.gz fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.tar.bz2 fork-ledger-547137096051ab985dca6f8e5c7be191b62ccb0c.zip |
Merge branch 'next'
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 79ed77fe..24016830 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -587,8 +587,8 @@ bool commodity_t::valid() const return true; } -bool compare_amount_commodities::operator()(const amount_t * left, - const amount_t * right) const +bool commodity_t::compare_by_commodity::operator()(const amount_t * left, + const amount_t * right) const { commodity_t& leftcomm(left->commodity()); commodity_t& rightcomm(right->commodity()); |