summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-21 16:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-21 16:09:35 (GMT)
commit5e54b0cf2f9706c731d9c188274ac2493587e86f (patch)
tree8f37f4b8df1271ae952b5ac0ad10773d07023f6f /Source/cmInstallGenerator.h
parent7a89e3c36cf919bf7c608456bcfd5d12978dc037 (diff)
downloadCMake-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/cmInstallGenerator.h')
-rw-r--r--Source/cmInstallGenerator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index 024027d..d786d24 100644
--- a/Source/cmInstallGenerator.h
+++ b/Source/cmInstallGenerator.h
@@ -30,9 +30,9 @@ public:
MessageNever
};
- cmInstallGenerator(const char* destination,
+ cmInstallGenerator(std::string destination,
std::vector<std::string> const& configurations,
- const char* component, MessageLevel message,
+ std::string component, MessageLevel message,
bool exclude_from_all);
~cmInstallGenerator() override;
@@ -65,14 +65,14 @@ public:
protected:
void GenerateScript(std::ostream& os) override;
- std::string CreateComponentTest(const char* component,
+ std::string CreateComponentTest(const std::string& component,
bool exclude_from_all);
// Information shared by most generator types.
- std::string Destination;
- std::string Component;
- MessageLevel Message;
- bool ExcludeFromAll;
+ std::string const Destination;
+ std::string const Component;
+ MessageLevel const Message;
+ bool const ExcludeFromAll;
};
#endif