The first of the set loops.
This commit is contained in:
+1
-2
@@ -346,9 +346,8 @@ void ActorUtil::LoadAllCommandsFromName( Actor& actor, const RString &sMetricsGr
|
|||||||
set<RString> vsValueNames;
|
set<RString> vsValueNames;
|
||||||
THEME->GetMetricsThatBeginWith( sMetricsGroup, sName, 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";
|
static const RString sEnding = "Command";
|
||||||
if( EndsWith(sv,sEnding) )
|
if( EndsWith(sv,sEnding) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user