summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-24 09:10:58 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-24 11:29:48 (GMT)
commitf69dcdfc380176a2c4365357c1ca85c0444087b0 (patch)
tree91a36f8b6543872af81a2ce6d2ab60689c0d2834 /Source
parenta4d230af7d594b7bc2a047468da7849c27438237 (diff)
downloadCMake-f69dcdfc380176a2c4365357c1ca85c0444087b0.zip
CMake-f69dcdfc380176a2c4365357c1ca85c0444087b0.tar.gz
CMake-f69dcdfc380176a2c4365357c1ca85c0444087b0.tar.bz2
GHS: Remove call to SetCurrentLocalGenerator.
It is not needed as cmLocalGenerator::Configure does this.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGhsMultiGenerator.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.cxx b/Source/cmGlobalGhsMultiGenerator.cxx
index d6bf75c..12e64d5 100644
--- a/Source/cmGlobalGhsMultiGenerator.cxx
+++ b/Source/cmGlobalGhsMultiGenerator.cxx
@@ -35,9 +35,7 @@ cmGlobalGhsMultiGenerator::~cmGlobalGhsMultiGenerator()
cmLocalGenerator *
cmGlobalGhsMultiGenerator::CreateLocalGenerator(cmLocalGenerator* parent)
{
- cmLocalGenerator *lg = new cmLocalGhsMultiGenerator(this, parent);
- this->SetCurrentLocalGenerator(lg);
- return lg;
+ return new cmLocalGhsMultiGenerator(this, parent);
}
void cmGlobalGhsMultiGenerator::GetDocumentation(cmDocumentationEntry &entry)