summaryrefslogtreecommitdiff
path: root/src/compare.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-11 16:03:50 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-11 17:02:25 -0400
commitdea2aed0b509734ec4e1cd163ac2a4f013000da2 (patch)
tree7908da76c67ae5172882306a319bf26df81b73b4 /src/compare.cc
parentd580079df892c30d023b3211d6c4611c17b11f8f (diff)
downloadfork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.gz
fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.tar.bz2
fork-ledger-dea2aed0b509734ec4e1cd163ac2a4f013000da2.zip
Untabified all source files
Diffstat (limited to 'src/compare.cc')
-rw-r--r--src/compare.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compare.cc b/src/compare.cc
index f3c13cea..99e430a7 100644
--- a/src/compare.cc
+++ b/src/compare.cc
@@ -39,7 +39,7 @@
namespace ledger {
void push_sort_value(std::list<sort_value_t>& sort_values,
- expr_t::ptr_op_t node, scope_t& scope)
+ expr_t::ptr_op_t node, scope_t& scope)
{
if (node->kind == expr_t::op_t::O_CONS) {
push_sort_value(sort_values, node->left(), scope);
@@ -54,11 +54,11 @@ void push_sort_value(std::list<sort_value_t>& sort_values,
sort_values.push_back(sort_value_t());
sort_values.back().inverted = inverted;
- sort_values.back().value = expr_t(node).calc(scope).simplified();
+ sort_values.back().value = expr_t(node).calc(scope).simplified();
if (sort_values.back().value.is_null())
throw_(calc_error,
- _("Could not determine sorting value based an expression"));
+ _("Could not determine sorting value based an expression"));
}
}
@@ -106,7 +106,7 @@ bool compare_items<account_t>::operator()(account_t * left, account_t * right)
}
DEBUG("value.sort", "Comparing accounts " << left->fullname()
- << " <> " << right->fullname());
+ << " <> " << right->fullname());
return sort_value_is_less_than(lxdata.sort_values, rxdata.sort_values);
}