summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-13 10:34:16 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-13 10:34:16 -0500
commita9c387377b796ecfca6d3f222d03e8e2f838f274 (patch)
tree23205287f2f02c8353212225fcd47a456ab22b4b /src/precmd.cc
parent927d404ad5d145bbcc58e0a4f9ee5d5df0637160 (diff)
downloadfork-ledger-a9c387377b796ecfca6d3f222d03e8e2f838f274.tar.gz
fork-ledger-a9c387377b796ecfca6d3f222d03e8e2f838f274.tar.bz2
fork-ledger-a9c387377b796ecfca6d3f222d03e8e2f838f274.zip
Made join_args() a global function
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 6b106a8b..fe0836bc 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -43,22 +43,6 @@
namespace ledger {
namespace {
- 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)
- first = false;
- else
- buf << ' ';
- buf << args[i];
- }
-
- return buf.str();
- }
-
post_t * get_sample_xact(report_t& report)
{
{