cmPolicies: Implement in terms of public API.

This commit is contained in:
Stephen Kelly 2015-05-03 10:25:14 +02:00
parent e3a8c0291e
commit 8c204133e5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}