summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-21 10:00:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-21 10:00:14 (GMT)
commit1116698a89e4057300481bac8f38bfd95f4e9ce5 (patch)
treef703294257acc3cf92d643f8def5ec3e8908aae7 /Source
parent8804c3e0e419eb692ba487ffb2a7e36b1f8e728d (diff)
downloadCMake-1116698a89e4057300481bac8f38bfd95f4e9ce5.zip
CMake-1116698a89e4057300481bac8f38bfd95f4e9ce5.tar.gz
CMake-1116698a89e4057300481bac8f38bfd95f4e9ce5.tar.bz2
cmTarget: Don't needlessly clear vectors in the destructor.
This will be done anyway for us.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 1ad0d48..1e47294 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -6875,11 +6875,11 @@ cmTargetInternalPointer
//----------------------------------------------------------------------------
cmTargetInternalPointer::~cmTargetInternalPointer()
{
- deleteAndClear(this->Pointer->IncludeDirectoriesEntries);
- deleteAndClear(this->Pointer->CompileOptionsEntries);
- deleteAndClear(this->Pointer->CompileFeaturesEntries);
- deleteAndClear(this->Pointer->CompileDefinitionsEntries);
- deleteAndClear(this->Pointer->SourceEntries);
+ cmDeleteAll(this->Pointer->IncludeDirectoriesEntries);
+ cmDeleteAll(this->Pointer->CompileOptionsEntries);
+ cmDeleteAll(this->Pointer->CompileFeaturesEntries);
+ cmDeleteAll(this->Pointer->CompileDefinitionsEntries);
+ cmDeleteAll(this->Pointer->SourceEntries);
delete this->Pointer;
}