cmTarget: Don't needlessly clear vectors in the destructor.

This will be done anyway for us.
This commit is contained in:
Stephen Kelly 2015-02-21 11:00:14 +01:00
parent 8804c3e0e4
commit 1116698a89
1 changed files with 5 additions and 5 deletions

View File

@ -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;
} }