Index: tools/gn/visual_studio_writer.h |
diff --git a/tools/gn/visual_studio_writer.h b/tools/gn/visual_studio_writer.h |
index 5b578ed3cbab3b968672fc707ed60d0c0cf373e3..297189606ecd66e1bcc3da83e5ae85c8e87886c5 100644 |
--- a/tools/gn/visual_studio_writer.h |
+++ b/tools/gn/visual_studio_writer.h |
@@ -6,6 +6,7 @@ |
#define TOOLS_GN_VISUAL_STUDIO_WRITER_H_ |
#include <iosfwd> |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -77,8 +78,8 @@ class VisualStudioWriter { |
std::string config_platform; |
}; |
- using SolutionProjects = std::vector<SolutionProject*>; |
- using SolutionFolders = std::vector<SolutionEntry*>; |
+ using SolutionProjects = std::vector<std::unique_ptr<SolutionProject>>; |
+ using SolutionFolders = std::vector<std::unique_ptr<SolutionEntry>>; |
VisualStudioWriter(const BuildSettings* build_settings, |
const char* config_platform, |