diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-24 09:10:58 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-24 11:29:48 (GMT) |
commit | f69dcdfc380176a2c4365357c1ca85c0444087b0 (patch) | |
tree | 91a36f8b6543872af81a2ce6d2ab60689c0d2834 /Source/cmGlobalGhsMultiGenerator.cxx | |
parent | a4d230af7d594b7bc2a047468da7849c27438237 (diff) | |
download | CMake-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/cmGlobalGhsMultiGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.cxx | 4 |
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) |