summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 09:08:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-28 16:44:38 (GMT)
commit9b6a743b801dffa9f7ccab0c3e73fa8d22f3b8b9 (patch)
tree936def161a94772aa4a1aac54da7ef039188d1f9 /Source/cmGlobalGenerator.cxx
parent11d5088a2f02994dc14c72170c73f7d60b0fba03 (diff)
downloadCMake-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.cxx10
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,