diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 62b3f833a..1f5c4d4dd 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -133,7 +133,6 @@ cmake::cmake() this->ClearBuildSystem = false; this->FileComparison = new cmFileTimeComparison; - this->Policies = new cmPolicies(); this->State = new cmState(this); this->CurrentSnapshot = this->State->CreateBaseSnapshot(); @@ -171,7 +170,6 @@ cmake::cmake() cmake::~cmake() { delete this->CacheManager; - delete this->Policies; delete this->State; if (this->GlobalGenerator) { diff --git a/Source/cmake.h b/Source/cmake.h index 31f55ac8a..8ac8897f8 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -27,7 +27,6 @@ class cmVariableWatch; class cmFileTimeComparison; class cmExternalMakefileProjectGenerator; class cmDocumentationSection; -class cmPolicies; class cmTarget; class cmGeneratedFileStream; @@ -340,7 +339,6 @@ protected: void AddExtraGenerator(const std::string& name, CreateExtraGeneratorFunctionType newFunction); - cmPolicies *Policies; cmGlobalGenerator *GlobalGenerator; cmCacheManager *CacheManager; std::map WarningLevels;