GHS: Remove call to SetCurrentLocalGenerator.

It is not needed as cmLocalGenerator::Configure does this.
This commit is contained in:
Stephen Kelly 2015-05-24 11:10:58 +02:00
parent a4d230af7d
commit f69dcdfc38
1 changed files with 1 additions and 3 deletions

View File

@ -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)