cmTarget: Don't needlessly clear vectors in the destructor.
This will be done anyway for us.
This commit is contained in:
parent
8804c3e0e4
commit
1116698a89
|
@ -6875,11 +6875,11 @@ cmTargetInternalPointer
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmTargetInternalPointer::~cmTargetInternalPointer()
|
cmTargetInternalPointer::~cmTargetInternalPointer()
|
||||||
{
|
{
|
||||||
deleteAndClear(this->Pointer->IncludeDirectoriesEntries);
|
cmDeleteAll(this->Pointer->IncludeDirectoriesEntries);
|
||||||
deleteAndClear(this->Pointer->CompileOptionsEntries);
|
cmDeleteAll(this->Pointer->CompileOptionsEntries);
|
||||||
deleteAndClear(this->Pointer->CompileFeaturesEntries);
|
cmDeleteAll(this->Pointer->CompileFeaturesEntries);
|
||||||
deleteAndClear(this->Pointer->CompileDefinitionsEntries);
|
cmDeleteAll(this->Pointer->CompileDefinitionsEntries);
|
||||||
deleteAndClear(this->Pointer->SourceEntries);
|
cmDeleteAll(this->Pointer->SourceEntries);
|
||||||
delete this->Pointer;
|
delete this->Pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue