parent
b541b1213a
commit
8e45c1128c
|
@ -556,9 +556,8 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf,
|
||||||
|
|
||||||
// now loop over all the policies and set them as appropriate
|
// now loop over all the policies and set them as appropriate
|
||||||
std::vector<cmPolicies::PolicyID> ancientPolicies;
|
std::vector<cmPolicies::PolicyID> ancientPolicies;
|
||||||
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator i
|
for(std::map<cmPolicies::PolicyID,cmPolicy *>::iterator i
|
||||||
= this->Policies.begin();
|
= this->Policies.begin(); i != this->Policies.end(); ++i)
|
||||||
for (;i != this->Policies.end(); ++i)
|
|
||||||
{
|
{
|
||||||
if (i->second->IsPolicyNewerThan(majorVer,minorVer,patchVer,tweakVer))
|
if (i->second->IsPolicyNewerThan(majorVer,minorVer,patchVer,tweakVer))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue