From 8c204133e5b7dc278de64c66a6ce0be8ec4ab6f4 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 3 May 2015 10:25:14 +0200 Subject: [PATCH] cmPolicies: Implement in terms of public API. --- Source/cmPolicies.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index acb591bbc..2d7c71002 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); }