summaryrefslogtreecommitdiff
path: root/Source/cmSourceGroup.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-02-26 15:52:47 +0100
committerMarc Chevrier <marc.chevrier@gmail.com>2020-02-27 11:11:30 +0100
commit557cecdc3d9ace51229b3dfce4a2ed71c2cc5c5c (patch)
tree656e2b8567e3c12c115bd1922f6bddb43c18a811 /Source/cmSourceGroup.h
parentab2d170c746d7cb68c39e9577cdaabc66668c0aa (diff)
downloadcmake-557cecdc3d9ace51229b3dfce4a2ed71c2cc5c5c.tar.gz
Modernize memory management
Update internals of various classes
Diffstat (limited to 'Source/cmSourceGroup.h')
-rw-r--r--Source/cmSourceGroup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h
index 581dc5dee9..623cded234 100644
--- a/Source/cmSourceGroup.h
+++ b/Source/cmSourceGroup.h
@@ -5,6 +5,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
+#include <memory>
#include <set>
#include <string>
#include <vector>
@@ -122,7 +123,7 @@ private:
*/
std::vector<const cmSourceFile*> SourceFiles;
- cmSourceGroupInternals* Internal;
+ std::unique_ptr<cmSourceGroupInternals> Internal;
};
#endif