From 40a732800d52b394d7bd4a81e9aaef04ef5914e6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 10 Jan 2019 08:37:40 -0500 Subject: 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. --- Source/cmGlobalVisualStudio14Generator.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/cmGlobalVisualStudio14Generator.cxx') diff --git a/Source/cmGlobalVisualStudio14Generator.cxx b/Source/cmGlobalVisualStudio14Generator.cxx index a6dbc238c3..8f7dac913f 100644 --- a/Source/cmGlobalVisualStudio14Generator.cxx +++ b/Source/cmGlobalVisualStudio14Generator.cxx @@ -75,8 +75,9 @@ cmGlobalGeneratorFactory* cmGlobalVisualStudio14Generator::NewFactory() } cmGlobalVisualStudio14Generator::cmGlobalVisualStudio14Generator( - cmake* cm, const std::string& name, const std::string& platformName) - : cmGlobalVisualStudio12Generator(cm, name, platformName) + cmake* cm, const std::string& name, + std::string const& platformInGeneratorName) + : cmGlobalVisualStudio12Generator(cm, name, platformInGeneratorName) { std::string vc14Express; this->ExpressEdition = cmSystemTools::ReadRegistryValue( -- cgit v1.2.1