summaryrefslogtreecommitdiff
path: root/lib/server/LocalProcessStream.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2010-01-24 13:46:23 +0000
committerChris Wilson <chris+github@qwirx.com>2010-01-24 13:46:23 +0000
commit9cbf4791fc4cbf3e0cfe375b285ea998fae2536d (patch)
treee7f01cd030bd6cf182db749ab5fcdafdbcdd79d2 /lib/server/LocalProcessStream.h
parenta983f7ce6368d2052d14e4b26fdcd388e42f19a5 (diff)
Revert the quotes part of [2588] as it breaks the unit tests.
Make LocalProcessStream constructor take a std::string& for C++ style.
Diffstat (limited to 'lib/server/LocalProcessStream.h')
-rw-r--r--lib/server/LocalProcessStream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/server/LocalProcessStream.h b/lib/server/LocalProcessStream.h
index 490c0f45..51e51f8a 100644
--- a/lib/server/LocalProcessStream.h
+++ b/lib/server/LocalProcessStream.h
@@ -13,7 +13,8 @@
#include <memory>
#include "IOStream.h"
-std::auto_ptr<IOStream> LocalProcessStream(const char *CommandLine, pid_t &rPidOut);
+std::auto_ptr<IOStream> LocalProcessStream(const std::string& rCommandLine,
+ pid_t &rPidOut);
#endif // LOCALPROCESSSTREAM__H