summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallSubdirectoryGenerator.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/cmInstallSubdirectoryGenerator.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/cmInstallSubdirectoryGenerator.h')
-rw-r--r--Source/cmInstallSubdirectoryGenerator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallSubdirectoryGenerator.h b/Source/cmInstallSubdirectoryGenerator.h
index b99bdd5..f9cd0f1 100644
--- a/Source/cmInstallSubdirectoryGenerator.h
+++ b/Source/cmInstallSubdirectoryGenerator.h
@@ -20,7 +20,7 @@ class cmInstallSubdirectoryGenerator : public cmInstallGenerator
{
public:
cmInstallSubdirectoryGenerator(cmMakefile* makefile,
- const char* binaryDirectory,
+ std::string binaryDirectory,
bool excludeFromAll);
~cmInstallSubdirectoryGenerator() override;
@@ -33,8 +33,8 @@ public:
protected:
void GenerateScript(std::ostream& os) override;
- cmMakefile* Makefile;
- std::string BinaryDirectory;
+ cmMakefile* const Makefile;
+ std::string const BinaryDirectory;
cmLocalGenerator* LocalGenerator;
};