diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 08:11:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-04 20:32:20 (GMT) |
commit | 23e2bcc8dba21b532ebbde20518f8a9f2d312103 (patch) | |
tree | 4fc49ee1402551f3a1df103f2b8e19a5cc90c33f | |
parent | 5641ba4fcaba322e6f189e33eaccc4621d6ba99d (diff) | |
download | CMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.zip CMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.tar.gz CMake-23e2bcc8dba21b532ebbde20518f8a9f2d312103.tar.bz2 |
cmPolicies: Remove unused DefinePolicy method.
Policies are no longer defined at runtime.
-rw-r--r-- | Source/cmPolicies.cxx | 10 | ||||
-rw-r--r-- | Source/cmPolicies.h | 9 |
2 files changed, 0 insertions, 19 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 5d023ee..51bcde3 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -121,16 +121,6 @@ const char* idToShortDescription(cmPolicies::PolicyID id) return 0; } -void cmPolicies::DefinePolicy(cmPolicies::PolicyID, - const char *, - const char *, - unsigned int, - unsigned int, - unsigned int, - cmPolicies::PolicyStatus) -{ -} - //---------------------------------------------------------------------------- static void DiagnoseAncientPolicies( std::vector<cmPolicies::PolicyID> const& ancient, diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 50ffe81..1e2849d 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -255,15 +255,6 @@ public: ///! Get the default status for a policy cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id); - ///! Define a Policy for CMake - void DefinePolicy(cmPolicies::PolicyID id, - const char *stringID, - const char *shortDescription, - unsigned int majorVersionIntroduced, - unsigned int minorVersionIntroduced, - unsigned int patchVersionIntroduced, - cmPolicies::PolicyStatus status); - ///! Set a policy level for this listfile bool ApplyPolicyVersion(cmMakefile *mf, const char *version); |