summaryrefslogtreecommitdiff
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 10:25:14 +0200
committerStephen Kelly <steveire@gmail.com>2015-05-04 22:32:19 +0200
commit8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4 (patch)
treec353e3a7d54ac87774e8962c2e1997613d5802a9 /Source/cmPolicies.cxx
parente3a8c0291e6ae364365bfe48f12c6a5f4ec0e76f (diff)
downloadcmake-8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4.tar.gz
cmPolicies: Implement in terms of public API.
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r--Source/cmPolicies.cxx2
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);
}