From e9bbfdd9a115332deb40da10784d478f4930c68f Mon Sep 17 00:00:00 2001 From: Artur Ryt Date: Sat, 30 Mar 2019 15:34:59 +0100 Subject: cmcmd: Pass args vector by const& --- Source/cmcmd.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Source/cmcmd.h') 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&); + static int ExecuteCMakeCommand(std::vector const&); protected: - static int HandleCoCompileCommands(std::vector& args); - static int HashSumFile(std::vector& args, + static int HandleCoCompileCommands(std::vector const& args); + static int HashSumFile(std::vector const& args, cmCryptoHash::Algo algo); - static int SymlinkLibrary(std::vector& args); - static int SymlinkExecutable(std::vector& args); + static int SymlinkLibrary(std::vector const& args); + static int SymlinkExecutable(std::vector const& args); static bool SymlinkInternal(std::string const& file, std::string const& link); - static int ExecuteEchoColor(std::vector& args); - static int ExecuteLinkScript(std::vector& args); + static int ExecuteEchoColor(std::vector const& args); + static int ExecuteLinkScript(std::vector const& args); static int WindowsCEEnvironment(const char* version, const std::string& name); static int VisualStudioLink(std::vector const& args, int type); -- cgit v1.2.1