summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-23 15:26:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-23 15:26:42 (GMT)
commit6dc9a627b635617870945677b4868e212f4184ed (patch)
tree347d9d2da7d3ce7aff132273cefc68cd7d3e3f78 /Source/cmTarget.cxx
parent88aeb64ddfb129701b6709f27531da0a885593eb (diff)
parentc021f59c1f2f3d892b621a9ba163b069f2a2f0a9 (diff)
downloadCMake-6dc9a627b635617870945677b4868e212f4184ed.zip
CMake-6dc9a627b635617870945677b4868e212f4184ed.tar.gz
CMake-6dc9a627b635617870945677b4868e212f4184ed.tar.bz2
Merge topic 'minor-cleanups'
c021f59c cmMakefile: Store macro list in a vector not in a map. 2d130896 cmMakefile: Fix list of macros generation. f1969234 cmFunctionCommand: Remove ineffectual code. 1116698a cmTarget: Don't needlessly clear vectors in the destructor.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index ebcd810..e046bef 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -6872,11 +6872,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;
}