diff options
author | Christian Pointner <equinox@anytun.org> | 2010-02-16 22:09:15 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-02-16 22:09:15 +0000 |
commit | cf2075ec2f89789972058ec96a5d4f1bbb1f0c53 (patch) | |
tree | 85ec4c4c1d27aaf290850b5fa0ce56da808b8b6e /src/sysExec.cpp | |
parent | fixed build of anytun-controld (diff) |
malloc/free vs new at posix sysexec
Diffstat (limited to 'src/sysExec.cpp')
-rw-r--r-- | src/sysExec.cpp | 6 |
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); } |