summaryrefslogtreecommitdiff
path: root/Source/cmInstallScriptGenerator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-21 11:00:00 -0500
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-21 11:09:35 -0500
commit5e54b0cf2f9706c731d9c188274ac2493587e86f (patch)
tree8f37f4b8df1271ae952b5ac0ad10773d07023f6f /Source/cmInstallScriptGenerator.h
parent7a89e3c36cf919bf7c608456bcfd5d12978dc037 (diff)
downloadcmake-5e54b0cf2f9706c731d9c188274ac2493587e86f.tar.gz
cmInstallGenerator: std::string params
Several construction parameters converted to std::string Also made a few class members const
Diffstat (limited to 'Source/cmInstallScriptGenerator.h')
-rw-r--r--Source/cmInstallScriptGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallScriptGenerator.h b/Source/cmInstallScriptGenerator.h
index d22c6ecc40..0a9c4ba69c 100644
--- a/Source/cmInstallScriptGenerator.h
+++ b/Source/cmInstallScriptGenerator.h
@@ -20,7 +20,8 @@ class cmInstallScriptGenerator : public cmInstallGenerator
{
public:
cmInstallScriptGenerator(std::string script, bool code,
- const char* component, bool exclude_from_all);
+ std::string const& component,
+ bool exclude_from_all);
~cmInstallScriptGenerator() override;
bool Compute(cmLocalGenerator* lg) override;