Merge topic 'remove-unused-cmPolicies'

d8a57148 cmake: Remove unused cmPolicies member.
This commit is contained in:
Brad King 2015-08-24 10:07:00 -04:00 committed by CMake Topic Stage
commit eeeb0eb751
2 changed files with 0 additions and 4 deletions

View File

@ -133,7 +133,6 @@ cmake::cmake()
this->ClearBuildSystem = false; this->ClearBuildSystem = false;
this->FileComparison = new cmFileTimeComparison; this->FileComparison = new cmFileTimeComparison;
this->Policies = new cmPolicies();
this->State = new cmState(this); this->State = new cmState(this);
this->CurrentSnapshot = this->State->CreateBaseSnapshot(); this->CurrentSnapshot = this->State->CreateBaseSnapshot();
@ -171,7 +170,6 @@ cmake::cmake()
cmake::~cmake() cmake::~cmake()
{ {
delete this->CacheManager; delete this->CacheManager;
delete this->Policies;
delete this->State; delete this->State;
if (this->GlobalGenerator) if (this->GlobalGenerator)
{ {

View File

@ -27,7 +27,6 @@ class cmVariableWatch;
class cmFileTimeComparison; class cmFileTimeComparison;
class cmExternalMakefileProjectGenerator; class cmExternalMakefileProjectGenerator;
class cmDocumentationSection; class cmDocumentationSection;
class cmPolicies;
class cmTarget; class cmTarget;
class cmGeneratedFileStream; class cmGeneratedFileStream;
@ -340,7 +339,6 @@ protected:
void AddExtraGenerator(const std::string& name, void AddExtraGenerator(const std::string& name,
CreateExtraGeneratorFunctionType newFunction); CreateExtraGeneratorFunctionType newFunction);
cmPolicies *Policies;
cmGlobalGenerator *GlobalGenerator; cmGlobalGenerator *GlobalGenerator;
cmCacheManager *CacheManager; cmCacheManager *CacheManager;
std::map<std::string, WarningLevel> WarningLevels; std::map<std::string, WarningLevel> WarningLevels;