From 3b3622305bb950f16f238f030c8f32786ad3511a Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Wed, 7 Sep 2016 20:40:18 +0200 Subject: 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. --- Source/cmGeneratorTarget.cxx | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v0.12