Another simple loop.

This commit is contained in:
Jason Felds
2013-04-29 23:56:48 -04:00
parent 17c8afb190
commit a8fb770907
+2 -2
View File
@@ -32,9 +32,9 @@ void ScreenDemonstration::Init()
vector<RString> v;
split( ALLOW_STYLE_TYPES, ",", v );
vector<StyleType> vStyleTypeAllow;
FOREACH_CONST( RString, v, s )
for (RString const &s : v)
{
StyleType st = StringToStyleType( *s );
StyleType st = StringToStyleType( s );
ASSERT( st != StyleType_Invalid );
vStyleTypeAllow.push_back( st );
}