summaryrefslogtreecommitdiffstats
path: root/Source/cmInstalledFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstalledFile.h')
-rw-r--r--Source/cmInstalledFile.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmInstalledFile.h b/Source/cmInstalledFile.h
index 7134a4e..503f92c 100644
--- a/Source/cmInstalledFile.h
+++ b/Source/cmInstalledFile.h
@@ -38,11 +38,7 @@ public:
~Property()
{
- for(ExpressionVectorType::iterator i = ValueExpressions.begin();
- i != ValueExpressions.end(); ++i)
- {
- delete *i;
- }
+ cmDeleteAll(this->ValueExpressions);
}
ExpressionVectorType ValueExpressions;