From 3758284cbaff285c35cae141e39dc44dfbb23748 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sat, 27 Apr 2013 13:17:32 -0400 Subject: [PATCH] The first of the set loops. --- src/ActorUtil.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ActorUtil.cpp b/src/ActorUtil.cpp index d7068672ab..bc61401c81 100644 --- a/src/ActorUtil.cpp +++ b/src/ActorUtil.cpp @@ -346,9 +346,8 @@ void ActorUtil::LoadAllCommandsFromName( Actor& actor, const RString &sMetricsGr set 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) ) {