diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-12 16:22:12 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-12 16:22:12 -0400 |
commit | e6bea6c3ebfc0762543b7a8ed68719aaf3abff16 (patch) | |
tree | 13e9dcc6c95bfae0a45c5bdf658ff45bfd22ad2b /src/compare.h | |
parent | 8ee8af3bfba440f6c185aa03b82cb7d0d785b3f3 (diff) | |
download | fork-ledger-e6bea6c3ebfc0762543b7a8ed68719aaf3abff16.tar.gz fork-ledger-e6bea6c3ebfc0762543b7a8ed68719aaf3abff16.tar.bz2 fork-ledger-e6bea6c3ebfc0762543b7a8ed68719aaf3abff16.zip |
The --sort flag now accepts multiple terms (-S payee,date).
However, there is no way yet to reverse the meaning of a given term.
Diffstat (limited to 'src/compare.h')
-rw-r--r-- | src/compare.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compare.h b/src/compare.h index 09abbd2a..70b44ed3 100644 --- a/src/compare.h +++ b/src/compare.h @@ -77,6 +77,8 @@ public: bool operator()(T * left, T * right); }; +bool value_is_less_than(const value_t& left, const value_t& right); + template <typename T> bool compare_items<T>::operator()(T * left, T * right) { |