diff options
author | Brad King <brad.king@kitware.com> | 2015-02-23 15:26:42 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-02-23 15:26:42 (GMT) |
commit | 6dc9a627b635617870945677b4868e212f4184ed (patch) | |
tree | 347d9d2da7d3ce7aff132273cefc68cd7d3e3f78 /Source/cmTarget.cxx | |
parent | 88aeb64ddfb129701b6709f27531da0a885593eb (diff) | |
parent | c021f59c1f2f3d892b621a9ba163b069f2a2f0a9 (diff) | |
download | CMake-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.cxx | 10 |
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; } |