summaryrefslogtreecommitdiff
path: root/src/sysExec.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-16 22:09:15 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-16 22:09:15 +0000
commitcf2075ec2f89789972058ec96a5d4f1bbb1f0c53 (patch)
tree85ec4c4c1d27aaf290850b5fa0ce56da808b8b6e /src/sysExec.cpp
parentfixed build of anytun-controld (diff)
malloc/free vs new at posix sysexec
Diffstat (limited to 'src/sysExec.cpp')
-rw-r--r--src/sysExec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysExec.cpp b/src/sysExec.cpp
index 9fc6e10..a69349f 100644
--- a/src/sysExec.cpp
+++ b/src/sysExec.cpp
@@ -51,17 +51,17 @@ SysExec::SysExec(std::string const& script) : script_(script),closed_(false),ret
doExec(StringVector(), StringList());
}
-SysExec::SysExec(std::string const& script, StringVector const& args) : script_(script),closed_(false),return_code_(0)
+SysExec::SysExec(std::string const& script, StringVector args) : script_(script),closed_(false),return_code_(0)
{
doExec(args, StringList());
}
-SysExec::SysExec(std::string const& script, StringList const& env) : script_(script),closed_(false),return_code_(0)
+SysExec::SysExec(std::string const& script, StringList env) : script_(script),closed_(false),return_code_(0)
{
doExec(StringVector(), env);
}
-SysExec::SysExec(std::string const& script, StringVector const& args, StringList const& env) : script_(script),closed_(false),return_code_(0)
+SysExec::SysExec(std::string const& script, StringVector args, StringList env) : script_(script),closed_(false),return_code_(0)
{
doExec(args, env);
}