diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 08:25:14 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-04 20:32:19 (GMT) |
commit | 8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4 (patch) | |
tree | c353e3a7d54ac87774e8962c2e1997613d5802a9 | |
parent | e3a8c0291e6ae364365bfe48f12c6a5f4ec0e76f (diff) | |
download | CMake-8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4.zip CMake-8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4.tar.gz CMake-8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4.tar.bz2 |
cmPolicies: Implement in terms of public API.
-rw-r--r-- | Source/cmPolicies.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index acb591b..2d7c710 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -588,7 +588,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf, { if (isPolicyNewerThan(i->first, majorVer, minorVer, patchVer)) { - if(i->second->Status == cmPolicies::REQUIRED_ALWAYS) + if(this->GetPolicyStatus(i->first) == cmPolicies::REQUIRED_ALWAYS) { ancientPolicies.push_back(i->first); } |