diff options
author | David Robillard <d@drobilla.net> | 2008-01-01 19:52:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-01 19:52:36 +0000 |
commit | cb21a7b08354134307637eb822a3c1ad9cb7ed23 (patch) | |
tree | fed8b9484141e723317a00886b0bd8bc841c9397 /raul/Process.hpp | |
parent | 143d9b1599a82a35165fd8e17f249998f95f15d0 (diff) | |
download | raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.tar.gz raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.tar.bz2 raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.zip |
RAUL code cleanup.
git-svn-id: http://svn.drobilla.net/lad/raul@999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r-- | raul/Process.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/raul/Process.hpp b/raul/Process.hpp index 2f5e286..8827a9e 100644 --- a/raul/Process.hpp +++ b/raul/Process.hpp @@ -40,8 +40,7 @@ public: * * @param command can be a typical shell command with parameters, the PATH is searched etc. */ - static bool launch(std::string command) - { + static bool launch(const std::string& command) { const std::string executable = (command.find(" ") != std::string::npos) ? command.substr(0, command.find(" ")) : command; |