diff options
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/report.cc b/src/report.cc index b0281c3e..98b90272 100644 --- a/src/report.cc +++ b/src/report.cc @@ -34,8 +34,9 @@ #include "filters.h" #include "chain.h" #include "output.h" -#include "emacs.h" #include "precmd.h" +#include "emacs.h" +#include "derive.h" namespace ledger { @@ -671,21 +672,4 @@ expr_t::ptr_op_t report_t::lookup(const string& name) return NULL; } -string join_args(call_scope_t& args) -{ - std::ostringstream buf; - bool first = true; - - for (std::size_t i = 0; i < args.size(); i++) { - if (first) { - buf << args[i]; - first = false; - } else { - buf << ' ' << args[i]; - } - } - - return buf.str(); -} - } // namespace ledger |