diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-02-21 10:00:14 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-21 10:00:14 (GMT) |
commit | 1116698a89e4057300481bac8f38bfd95f4e9ce5 (patch) | |
tree | f703294257acc3cf92d643f8def5ec3e8908aae7 /Source | |
parent | 8804c3e0e419eb692ba487ffb2a7e36b1f8e728d (diff) | |
download | CMake-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.cxx | 10 |
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; } |