summaryrefslogtreecommitdiff
path: root/src/compare.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 22:47:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 22:47:27 -0400
commit49a1373debdd5dbcd12721a110fab16fab8b40db (patch)
tree7df0f67b4c6826bb0d30ac8a52e1d47acd93686f /src/compare.h
parent62eee3d29a6f891c8d15195416cf285619746a3c (diff)
downloadfork-ledger-49a1373debdd5dbcd12721a110fab16fab8b40db.tar.gz
fork-ledger-49a1373debdd5dbcd12721a110fab16fab8b40db.tar.bz2
fork-ledger-49a1373debdd5dbcd12721a110fab16fab8b40db.zip
Renamed a function to sort_value_is_less_than
The purpose was to provided a clearer relationship between the function name and its expected arguments.
Diffstat (limited to 'src/compare.h')
-rw-r--r--src/compare.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compare.h b/src/compare.h
index e4d68aa2..bf85e1c7 100644
--- a/src/compare.h
+++ b/src/compare.h
@@ -86,8 +86,8 @@ template <typename T>
bool compare_items<T>::operator()(T * left, T * right)
{
assert(left); assert(right);
- return value_is_less_than(find_sort_values(left),
- find_sort_values(right));
+ return sort_value_is_less_than(find_sort_values(left),
+ find_sort_values(right));
}
template <>