diff options
author | Christian Pointner <equinox@anytun.org> | 2010-01-12 21:58:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-01-12 21:58:24 +0000 |
commit | 7fc4efc7a0216aeb68b0639fb3f4d839b359e250 (patch) | |
tree | 8aea8365eb15feb6f33d80b1545c6db950d61c75 /src/sysExec.h | |
parent | improved new SysExec cleanup (diff) |
references are better than pointer ;)
Diffstat (limited to 'src/sysExec.h')
-rw-r--r-- | src/sysExec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysExec.h b/src/sysExec.h index 7aada56..268384a 100644 --- a/src/sysExec.h +++ b/src/sysExec.h @@ -54,7 +54,7 @@ class SysExec int waitForScript(); int getReturnCode() const; - static void waitAndDestroy(SysExec** s); + static void waitAndDestroy(SysExec*& s); private: void doExec(std::string const& script, StringVector const& args, StringList const& env); |