cmGlobalGenerator: Remove unneeded pointer check.
Deleting nullptr is ok.
This commit is contained in:
parent
c697c1fafe
commit
62429a1e54
|
@ -74,11 +74,7 @@ cmGlobalGenerator::cmGlobalGenerator()
|
|||
cmGlobalGenerator::~cmGlobalGenerator()
|
||||
{
|
||||
this->ClearGeneratorMembers();
|
||||
|
||||
if (this->ExtraGenerator)
|
||||
{
|
||||
delete this->ExtraGenerator;
|
||||
}
|
||||
}
|
||||
|
||||
bool cmGlobalGenerator::SetGeneratorPlatform(std::string const& p,
|
||||
|
|
Loading…
Reference in New Issue