summaryrefslogtreecommitdiffstats
path: root/Source/cmInstalledFile.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-12-18 16:50:42 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2019-12-19 10:15:13 (GMT)
commit23130c539fc6ae1f4809e4c639a1a15a5f299c48 (patch)
tree85a44df91cf1e462d0d0616c63ad0ff5d9112223 /Source/cmInstalledFile.h
parent3c632b89abf7edd2d82f21dc31d0a933775d8b85 (diff)
downloadCMake-23130c539fc6ae1f4809e4c639a1a15a5f299c48.zip
CMake-23130c539fc6ae1f4809e4c639a1a15a5f299c48.tar.gz
CMake-23130c539fc6ae1f4809e4c639a1a15a5f299c48.tar.bz2
cmInstalledFile: modernize memory management
Diffstat (limited to 'Source/cmInstalledFile.h')
-rw-r--r--Source/cmInstalledFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstalledFile.h b/Source/cmInstalledFile.h
index ee809ee..698151e 100644
--- a/Source/cmInstalledFile.h
+++ b/Source/cmInstalledFile.h
@@ -24,7 +24,7 @@ public:
using CompiledGeneratorExpressionPtrType =
std::unique_ptr<cmCompiledGeneratorExpression>;
- using ExpressionVectorType = std::vector<cmCompiledGeneratorExpression*>;
+ using ExpressionVectorType = std::vector<CompiledGeneratorExpressionPtrType>;
struct Property
{
@@ -73,7 +73,7 @@ public:
private:
std::string Name;
- cmCompiledGeneratorExpression* NameExpression = nullptr;
+ CompiledGeneratorExpressionPtrType NameExpression;
PropertyMapType Properties;
};