The first of the set loops.

This commit is contained in:
Jason Felds
2013-04-27 13:17:32 -04:00
parent c89634d0d7
commit 3758284cba
+1 -2
View File
@@ -346,9 +346,8 @@ void ActorUtil::LoadAllCommandsFromName( Actor& actor, const RString &sMetricsGr
set<RString> vsValueNames;
THEME->GetMetricsThatBeginWith( sMetricsGroup, sName, vsValueNames );
FOREACHS_CONST( RString, vsValueNames, v )
for (RString const & sv : vsValueNames)
{
const RString &sv = *v;
static const RString sEnding = "Command";
if( EndsWith(sv,sEnding) )
{