From 353e422b2ad3d51dfc6c6db968ebcece10cbcc8d Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 3 May 2015 00:47:53 +0200 Subject: [PATCH] cmMakefile: Remove unused GetPolicies method. --- Source/cmMakefile.h | 6 ------ Source/cmake.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 0b328e932f..85451ad5e6 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -14,7 +14,6 @@ #include "cmExecutionStatus.h" #include "cmListFileCache.h" -#include "cmPolicies.h" #include "cmPropertyMap.h" #include "cmSystemTools.h" #include "cmTarget.h" @@ -373,11 +372,6 @@ public: }; friend class PolicyPushPop; - /** - * Get the Policies Instance - */ - cmPolicies *GetPolicies() const; - mutable std::set CMP0054ReportedIds; /** diff --git a/Source/cmake.h b/Source/cmake.h index 0fe7bfcc9d..f0f94115ca 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -222,9 +222,6 @@ class cmake ///! this is called by generators to update the progress void UpdateProgress(const char *msg, float prog); - ///! get the cmake policies instance - cmPolicies *GetPolicies() {return this->Policies;} - ///! Get the variable watch object cmVariableWatch* GetVariableWatch() { return this->VariableWatch; }