summaryrefslogtreecommitdiff
path: root/src/compare.cc
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.cc
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.cc')
-rw-r--r--src/compare.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compare.cc b/src/compare.cc
index 08f4e74c..5237fb9a 100644
--- a/src/compare.cc
+++ b/src/compare.cc
@@ -83,7 +83,7 @@ bool compare_items<xact_t>::operator()(xact_t * left, xact_t * right)
rxdata.add_flags(XACT_EXT_SORT_CALC);
}
- return value_is_less_than(lxdata.sort_values, rxdata.sort_values);
+ return sort_value_is_less_than(lxdata.sort_values, rxdata.sort_values);
}
template <>
@@ -104,7 +104,7 @@ bool compare_items<account_t>::operator()(account_t * left, account_t * right)
rxdata.add_flags(ACCOUNT_EXT_SORT_CALC);
}
- return value_is_less_than(lxdata.sort_values, rxdata.sort_values);
+ return sort_value_is_less_than(lxdata.sort_values, rxdata.sort_values);
}
} // namespace ledger