1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Update Privilege.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-02-05 14:12:05 +02:00
parent 4da00718f7
commit e4d4b09f52

View File

@ -133,7 +133,7 @@ void PvManager::PropagateParentChange(const PvClass & cls, const PvClass::Ref &
// Is this entry inherited or owned?
if (itr != cls.mPrivileges.end())
{
break; // Nothing new will happen here
continue; // Nothing new will happen here
}
}
// We know we inherit this entry value so let's get that value instead
@ -143,7 +143,7 @@ void PvManager::PropagateParentChange(const PvClass & cls, const PvClass::Ref &
// Are they literally the same?
if (inherited == current)
{
break; // Don't even bother
continue; // Don't even bother
}
// Find out who can identify this change
const Function & modify = e.second->mOnModify.IsNull() ? m_OnModify : e.second->mOnModify;
@ -180,7 +180,7 @@ void PvManager::PropagateClassChange(const PvUnit & unit, const PvClass::Ref & c
// Is this entry inherited or owned?
if (itr != unit.mPrivileges.end())
{
break; // Nothing new will happen here
continue; // Nothing new will happen here
}
}
// We know we inherit this entry value so let's get that value instead
@ -190,7 +190,7 @@ void PvManager::PropagateClassChange(const PvUnit & unit, const PvClass::Ref & c
// Are they literally the same?
if (inherited == current)
{
break; // Don't even bother
continue; // Don't even bother
}
// Find out who can identify this change
const Function & modify = e.second->mOnModify.IsNull() ? m_OnModify : e.second->mOnModify;