diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 09:08:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-28 16:44:38 (GMT) |
commit | 9b6a743b801dffa9f7ccab0c3e73fa8d22f3b8b9 (patch) | |
tree | 936def161a94772aa4a1aac54da7ef039188d1f9 /Source/cmGlobalGenerator.cxx | |
parent | 11d5088a2f02994dc14c72170c73f7d60b0fba03 (diff) | |
download | CMake-9b6a743b801dffa9f7ccab0c3e73fa8d22f3b8b9.zip CMake-9b6a743b801dffa9f7ccab0c3e73fa8d22f3b8b9.tar.gz CMake-9b6a743b801dffa9f7ccab0c3e73fa8d22f3b8b9.tar.bz2 |
cmLocalGenerator: Remove Parent pointer.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 46c1ccc..01f50ed 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1986,22 +1986,20 @@ void cmGlobalGenerator::EnableInstallTarget() } cmLocalGenerator * -cmGlobalGenerator::MakeLocalGenerator(cmState::Snapshot snapshot, - cmLocalGenerator *parent) +cmGlobalGenerator::MakeLocalGenerator(cmState::Snapshot snapshot) { if (!snapshot.IsValid()) { snapshot = this->CMakeInstance->GetCurrentSnapshot(); } - return this->CreateLocalGenerator(parent, snapshot); + return this->CreateLocalGenerator(snapshot); } cmLocalGenerator* -cmGlobalGenerator::CreateLocalGenerator(cmLocalGenerator* parent, - cmState::Snapshot snapshot) +cmGlobalGenerator::CreateLocalGenerator(cmState::Snapshot snapshot) { - return new cmLocalGenerator(this, parent, snapshot); + return new cmLocalGenerator(this, snapshot); } void cmGlobalGenerator::EnableLanguagesFromGenerator(cmGlobalGenerator *gen, |