diff options
author | Brad King <brad.king@kitware.com> | 2019-01-10 08:37:40 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-10 09:38:35 -0500 |
commit | 40a732800d52b394d7bd4a81e9aaef04ef5914e6 (patch) | |
tree | e4f665370ae5fcfb3767eecad49dbcd4b45aecff /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 5ca7e5057bcadbcbe6b933b004ba37ddb5199dba (diff) | |
download | cmake-40a732800d52b394d7bd4a81e9aaef04ef5914e6.tar.gz |
VS: Clarify global generator constructor interface
Make the constructors protected since they should be produced through
factories. Also rename `platform{ => InGenerator}Name` to clarify
the meaning of the argument.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index ee118f1e7f..616328d4bb 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -12,8 +12,9 @@ #include "cmake.h" cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator( - cmake* cm, const std::string& name, const std::string& platformName) - : cmGlobalVisualStudio71Generator(cm, platformName) + cmake* cm, const std::string& name, + std::string const& platformInGeneratorName) + : cmGlobalVisualStudio71Generator(cm, platformInGeneratorName) { this->ProjectConfigurationSectionName = "ProjectConfigurationPlatforms"; this->Name = name; |