summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallScriptGenerator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-20 18:00:00 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-21 14:19:13 (GMT)
commit9db532f44dc014303e308e43b097175b8827508c (patch)
treee8dca2a118f40e4f9af1bbb70dfb984e428c3aad /Source/cmInstallScriptGenerator.h
parent941c09616bc214db77e3b1b7e5229517db08b45c (diff)
downloadCMake-9db532f44dc014303e308e43b097175b8827508c.zip
CMake-9db532f44dc014303e308e43b097175b8827508c.tar.gz
CMake-9db532f44dc014303e308e43b097175b8827508c.tar.bz2
cmInstall*Generator: 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallScriptGenerator.h b/Source/cmInstallScriptGenerator.h
index 7efa321..d22c6ec 100644
--- a/Source/cmInstallScriptGenerator.h
+++ b/Source/cmInstallScriptGenerator.h
@@ -19,7 +19,7 @@ class cmLocalGenerator;
class cmInstallScriptGenerator : public cmInstallGenerator
{
public:
- cmInstallScriptGenerator(const char* script, bool code,
+ cmInstallScriptGenerator(std::string script, bool code,
const char* component, bool exclude_from_all);
~cmInstallScriptGenerator() override;
@@ -32,8 +32,8 @@ protected:
void AddScriptInstallRule(std::ostream& os, Indent indent,
std::string const& script);
- std::string Script;
- bool Code;
+ std::string const Script;
+ bool const Code;
cmLocalGenerator* LocalGenerator;
bool AllowGenex;
};