summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-03-15 17:24:46 -0700
committerJohn Wiegley <johnw@newartisans.com>2019-03-15 17:29:58 -0700
commit501fbc08ae5493db77bb34f4c4fbe1f3a3bc14e3 (patch)
tree9bfbdc9b2eb0c652d415526881002640a505b4cb /src/commodity.h
parentd8d3183405999a2ed4c43a8fada76298ad089777 (diff)
downloadfork-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.h2
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;
};
};