mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmLocalGenerator: modernize memory management
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#ifndef cmGlobalVisualStudio7Generator_h
|
||||
#define cmGlobalVisualStudio7Generator_h
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "cmGlobalGeneratorFactory.h"
|
||||
#include "cmGlobalVisualStudioGenerator.h"
|
||||
|
||||
@@ -20,7 +22,8 @@ public:
|
||||
~cmGlobalVisualStudio7Generator();
|
||||
|
||||
//! Create a local generator appropriate to this Global Generator
|
||||
cmLocalGenerator* CreateLocalGenerator(cmMakefile* mf) override;
|
||||
std::unique_ptr<cmLocalGenerator> CreateLocalGenerator(
|
||||
cmMakefile* mf) override;
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
Json::Value GetJson() const override;
|
||||
|
||||
Reference in New Issue
Block a user