summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-07 18:40:18 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-08 21:46:18 (GMT)
commit3b3622305bb950f16f238f030c8f32786ad3511a (patch)
tree908bfb2eb377f4b0a9e405ec55a06c22fd78db3a /Source/cmGeneratorTarget.cxx
parentf506489d1ed222761f9ce752144a458290020e55 (diff)
downloadCMake-3b3622305bb950f16f238f030c8f32786ad3511a.zip
CMake-3b3622305bb950f16f238f030c8f32786ad3511a.tar.gz
CMake-3b3622305bb950f16f238f030c8f32786ad3511a.tar.bz2
cmGeneratorTarget: don't clear container in destructor
It will be destroyed anyway. This also makes it easier to search for places where containers are atually cleared in order to be recomputed.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index ee2907c..25917f8 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -327,7 +327,6 @@ cmGeneratorTarget::~cmGeneratorTarget()
cmDeleteAll(this->CompileDefinitionsEntries);
cmDeleteAll(this->SourceEntries);
cmDeleteAll(this->LinkInformation);
- this->LinkInformation.clear();
}
cmLocalGenerator* cmGeneratorTarget::GetLocalGenerator() const