summaryrefslogtreecommitdiff
path: root/Source/cmcmd.h
diff options
context:
space:
mode:
authorArtur Ryt <artur.ryt@gmail.com>2019-03-30 15:34:59 +0100
committerArtur Ryt <artur.ryt@gmail.com>2019-03-30 15:34:59 +0100
commite9bbfdd9a115332deb40da10784d478f4930c68f (patch)
tree924ab33fc410efcfd090d7266ed17e7f85312ae7 /Source/cmcmd.h
parent5bdee3786359b6560eb9ee1d6fab8664feb90db4 (diff)
downloadcmake-e9bbfdd9a115332deb40da10784d478f4930c68f.tar.gz
cmcmd: Pass args vector by const&
Diffstat (limited to 'Source/cmcmd.h')
-rw-r--r--Source/cmcmd.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmcmd.h b/Source/cmcmd.h
index d1e03d01fd..69a7ecbb14 100644
--- a/Source/cmcmd.h
+++ b/Source/cmcmd.h
@@ -16,18 +16,18 @@ public:
* Execute commands during the build process. Supports options such
* as echo, remove file etc.
*/
- static int ExecuteCMakeCommand(std::vector<std::string>&);
+ static int ExecuteCMakeCommand(std::vector<std::string> const&);
protected:
- static int HandleCoCompileCommands(std::vector<std::string>& args);
- static int HashSumFile(std::vector<std::string>& args,
+ static int HandleCoCompileCommands(std::vector<std::string> const& args);
+ static int HashSumFile(std::vector<std::string> const& args,
cmCryptoHash::Algo algo);
- static int SymlinkLibrary(std::vector<std::string>& args);
- static int SymlinkExecutable(std::vector<std::string>& args);
+ static int SymlinkLibrary(std::vector<std::string> const& args);
+ static int SymlinkExecutable(std::vector<std::string> const& args);
static bool SymlinkInternal(std::string const& file,
std::string const& link);
- static int ExecuteEchoColor(std::vector<std::string>& args);
- static int ExecuteLinkScript(std::vector<std::string>& args);
+ static int ExecuteEchoColor(std::vector<std::string> const& args);
+ static int ExecuteLinkScript(std::vector<std::string> const& args);
static int WindowsCEEnvironment(const char* version,
const std::string& name);
static int VisualStudioLink(std::vector<std::string> const& args, int type);