diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 14:50:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-14 18:36:27 (GMT) |
commit | 34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa (patch) | |
tree | 83940147cdf05b1b82caff2c3f4b640b35ca83c0 /Source/cmGlobalVisualStudio14Generator.cxx | |
parent | 3837c48334ff670d9132f80e35a31e263b21d3a1 (diff) | |
download | CMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.zip CMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.gz CMake-34c9ee2ed75e12c713bb49c699ac1dd882d1b8fa.tar.bz2 |
cmLocalGenerator: Require a global generator in the constructor.
Port generator factory methods to pass it.
Diffstat (limited to 'Source/cmGlobalVisualStudio14Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio14Generator.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmGlobalVisualStudio14Generator.cxx b/Source/cmGlobalVisualStudio14Generator.cxx index 6642d88..90fcc7e 100644 --- a/Source/cmGlobalVisualStudio14Generator.cxx +++ b/Source/cmGlobalVisualStudio14Generator.cxx @@ -131,9 +131,6 @@ void cmGlobalVisualStudio14Generator::WriteSLNHeader(std::ostream& fout) cmLocalGenerator * cmGlobalVisualStudio14Generator::CreateLocalGenerator(cmLocalGenerator* parent) { - cmLocalVisualStudio10Generator* lg = - new cmLocalVisualStudio10Generator(cmLocalVisualStudioGenerator::VS14, - parent); - lg->SetGlobalGenerator(this); - return lg; + return new cmLocalVisualStudio10Generator( + cmLocalVisualStudioGenerator::VS14, this, parent); } |