summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 22:30:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 22:30:01 -0400
commite98144ee28e8bc1bce3dd2e67b010fe199ecc7bc (patch)
treef431d4bed2eed37bc3b1a2fe6f586e4d1e06d5e6 /walk.h
parent55d58940ceb6a47e4032bbad83909d1ca82d2e03 (diff)
downloadfork-ledger-e98144ee28e8bc1bce3dd2e67b010fe199ecc7bc.tar.gz
fork-ledger-e98144ee28e8bc1bce3dd2e67b010fe199ecc7bc.tar.bz2
fork-ledger-e98144ee28e8bc1bce3dd2e67b010fe199ecc7bc.zip
further performance tweaks
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/walk.h b/walk.h
index 07e592ce..232eea35 100644
--- a/walk.h
+++ b/walk.h
@@ -44,9 +44,9 @@ struct compare_items {
bool operator()(const T * left, const T * right) const {
assert(left);
assert(right);
- balance_t left_result;
+ value_t left_result;
sort_order->compute(left_result, details_t(left));
- balance_t right_result;
+ value_t right_result;
sort_order->compute(right_result, details_t(right));
return left_result < right_result;
}