diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 10:25:14 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-04 22:32:19 +0200 |
commit | 8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4 (patch) | |
tree | c353e3a7d54ac87774e8962c2e1997613d5802a9 /Source/cmPolicies.cxx | |
parent | e3a8c0291e6ae364365bfe48f12c6a5f4ec0e76f (diff) | |
download | cmake-8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4.tar.gz |
cmPolicies: Implement in terms of public API.
Diffstat (limited to 'Source/cmPolicies.cxx')
-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 acb591bbc5..2d7c710025 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); } |