mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-02 22:09:35 +00:00
Modernize memory management
Update internals of various classes
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -81,7 +82,7 @@ private:
|
||||
int CurrentDepth;
|
||||
int Verbose;
|
||||
|
||||
std::vector<char*> Allocates;
|
||||
std::vector<std::unique_ptr<char[]>> Allocates;
|
||||
|
||||
void PrintClasses();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user