diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-21 16:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-21 16:09:35 (GMT) |
commit | 5e54b0cf2f9706c731d9c188274ac2493587e86f (patch) | |
tree | 8f37f4b8df1271ae952b5ac0ad10773d07023f6f /Source/cmInstallScriptGenerator.cxx | |
parent | 7a89e3c36cf919bf7c608456bcfd5d12978dc037 (diff) | |
download | CMake-5e54b0cf2f9706c731d9c188274ac2493587e86f.zip CMake-5e54b0cf2f9706c731d9c188274ac2493587e86f.tar.gz CMake-5e54b0cf2f9706c731d9c188274ac2493587e86f.tar.bz2 |
cmInstallGenerator: std::string params
Several construction parameters converted to std::string
Also made a few class members const
Diffstat (limited to 'Source/cmInstallScriptGenerator.cxx')
-rw-r--r-- | Source/cmInstallScriptGenerator.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmInstallScriptGenerator.cxx b/Source/cmInstallScriptGenerator.cxx index 77680d2..7cdf3b4 100644 --- a/Source/cmInstallScriptGenerator.cxx +++ b/Source/cmInstallScriptGenerator.cxx @@ -12,11 +12,10 @@ #include "cmPolicies.h" #include "cmScriptGenerator.h" -cmInstallScriptGenerator::cmInstallScriptGenerator(std::string script, - bool code, - const char* component, - bool exclude_from_all) - : cmInstallGenerator(nullptr, std::vector<std::string>(), component, +cmInstallScriptGenerator::cmInstallScriptGenerator( + std::string script, bool code, std::string const& component, + bool exclude_from_all) + : cmInstallGenerator("", std::vector<std::string>(), component, MessageDefault, exclude_from_all) , Script(std::move(script)) , Code(code) |