From f69dcdfc380176a2c4365357c1ca85c0444087b0 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 24 May 2015 11:10:58 +0200 Subject: [PATCH] GHS: Remove call to SetCurrentLocalGenerator. It is not needed as cmLocalGenerator::Configure does this. --- Source/cmGlobalGhsMultiGenerator.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmGlobalGhsMultiGenerator.cxx b/Source/cmGlobalGhsMultiGenerator.cxx index d6bf75c87..12e64d5e5 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)