diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-07 18:40:18 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-09-08 21:46:18 (GMT) |
commit | 3b3622305bb950f16f238f030c8f32786ad3511a (patch) | |
tree | 908bfb2eb377f4b0a9e405ec55a06c22fd78db3a | |
parent | f506489d1ed222761f9ce752144a458290020e55 (diff) | |
download | CMake-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.
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 1 |
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 |