diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-21 17:15:21 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-22 13:03:04 -0500 |
commit | 5a0784ddea62ee653a3a1199d4ff2140868d2c1d (patch) | |
tree | 0cbdb3658d8d5a270be900ddb829a4afe5cb4b32 /Source/cmCustomCommand.h | |
parent | bcc9ea2b3d9cd3b882dbb2a23502b0392cb21d1b (diff) | |
download | cmake-5a0784ddea62ee653a3a1199d4ff2140868d2c1d.tar.gz |
clang-tidy: Pass by value
Diffstat (limited to 'Source/cmCustomCommand.h')
-rw-r--r-- | Source/cmCustomCommand.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index d82160bad9..50f15a46fd 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -23,12 +23,11 @@ class cmCustomCommand { public: /** Main constructor specifies all information for the command. */ - cmCustomCommand(cmMakefile const* mf, - const std::vector<std::string>& outputs, - const std::vector<std::string>& byproducts, - const std::vector<std::string>& depends, - const cmCustomCommandLines& commandLines, - const char* comment, const char* workingDirectory); + cmCustomCommand(cmMakefile const* mf, std::vector<std::string> outputs, + std::vector<std::string> byproducts, + std::vector<std::string> depends, + cmCustomCommandLines commandLines, const char* comment, + const char* workingDirectory); /** Get the output file produced by the command. */ const std::vector<std::string>& GetOutputs() const; |