diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc index 96fb6647..3b9cfb00 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1424,6 +1424,9 @@ bool sort_value_is_less_than(const std::list<sort_value_t>& left_values, while (left_iter != left_values.end() && right_iter != right_values.end()) { + DEBUG("value.sort", + "Comparing " << (*left_iter).value << " < " << (*right_iter).value); + if ((*left_iter).value < (*right_iter).value) return ! (*left_iter).inverted; else if ((*left_iter).value > (*right_iter).value) @@ -1434,7 +1437,7 @@ bool sort_value_is_less_than(const std::list<sort_value_t>& left_values, assert(left_iter == left_values.end()); assert(right_iter == right_values.end()); - return true; + return false; } } // namespace ledger |