summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/walk.h b/walk.h
index 238fdb78..39bde7f2 100644
--- a/walk.h
+++ b/walk.h
@@ -53,8 +53,9 @@ class compare_items {
assert(right);
value_t left_result;
- sort_order->compute(left_result, details_t(left));
value_t right_result;
+
+ sort_order->compute(left_result, details_t(left));
sort_order->compute(right_result, details_t(right));
return left_result < right_result;