Simplify the loop.
This commit is contained in:
@@ -27,9 +27,8 @@ static LocalizedString::MakeLocalizer g_pMakeLocalizedStringImpl = LocalizedStri
|
|||||||
void LocalizedString::RegisterLocalizer( MakeLocalizer pFunc )
|
void LocalizedString::RegisterLocalizer( MakeLocalizer pFunc )
|
||||||
{
|
{
|
||||||
g_pMakeLocalizedStringImpl = pFunc;
|
g_pMakeLocalizedStringImpl = pFunc;
|
||||||
FOREACHS( LocalizedString*, *m_Subscribers.m_pSubscribers, l )
|
for (LocalizedString *pLoc : *m_Subscribers.m_pSubscribers)
|
||||||
{
|
{
|
||||||
LocalizedString *pLoc = *l;
|
|
||||||
pLoc->CreateImpl();
|
pLoc->CreateImpl();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user