diff options
author | John Wiegley <johnw@newartisans.com> | 2019-03-15 17:24:46 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2019-03-15 17:29:58 -0700 |
commit | 501fbc08ae5493db77bb34f4c4fbe1f3a3bc14e3 (patch) | |
tree | 9bfbdc9b2eb0c652d415526881002640a505b4cb /src/commodity.h | |
parent | d8d3183405999a2ed4c43a8fada76298ad089777 (diff) | |
download | fork-ledger-501fbc08ae5493db77bb34f4c4fbe1f3a3bc14e3.tar.gz fork-ledger-501fbc08ae5493db77bb34f4c4fbe1f3a3bc14e3.tar.bz2 fork-ledger-501fbc08ae5493db77bb34f4c4fbe1f3a3bc14e3.zip |
Change compare_by_commodity to return an integer
Diffstat (limited to 'src/commodity.h')
-rw-r--r-- | src/commodity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.h b/src/commodity.h index c25ccaf2..5060102d 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -279,7 +279,7 @@ public: bool valid() const; struct compare_by_commodity { - bool operator()(const amount_t * left, const amount_t * right) const; + int operator()(const amount_t * left, const amount_t * right) const; }; }; |