diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 04:10:22 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 04:10:22 -0400 |
commit | 4365d9e3fcbe2546c15f188833a69cf8416f44fe (patch) | |
tree | 2f3da7ba36669752670a119983ef53f3eee02d40 /src/report.cc | |
parent | aa69b273deda6cc29701fe9a4adf66abe8773cda (diff) | |
download | fork-ledger-4365d9e3fcbe2546c15f188833a69cf8416f44fe.tar.gz fork-ledger-4365d9e3fcbe2546c15f188833a69cf8416f44fe.tar.bz2 fork-ledger-4365d9e3fcbe2546c15f188833a69cf8416f44fe.zip |
Moved around some functions for clarity
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 |