Fix minor windows pedantic warnings.
This commit is contained in:
+3
-2
@@ -26,11 +26,12 @@ namespace
|
||||
/* Look at the first class. If it has a base class that needs to be registered,
|
||||
* go there first. */
|
||||
LuaBinding *pBinding = mapToRegister.begin()->second;
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
if( !pBinding->IsDerivedClass() )
|
||||
{
|
||||
break;
|
||||
|
||||
}
|
||||
RString sBase = pBinding->GetBaseClassName();
|
||||
map<RString, LuaBinding *>::const_iterator it = mapToRegister.find(sBase);
|
||||
if( it != mapToRegister.end() )
|
||||
|
||||
Reference in New Issue
Block a user