From 7180cc4acdf3e6473c26d01a7171995511d6eb04 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 1 May 2013 21:56:57 -0400 Subject: [PATCH] Back to a simple loop. --- src/OptionsList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OptionsList.cpp b/src/OptionsList.cpp index 4c4caf2746..7b16875348 100644 --- a/src/OptionsList.cpp +++ b/src/OptionsList.cpp @@ -197,8 +197,8 @@ void OptionsList::Load( RString sType, PlayerNumber pn ) vector asDirectLines; split( DIRECT_LINES, ",", asDirectLines, true ); - FOREACH( RString, asDirectLines, s ) - m_setDirectRows.insert( *s ); + for (RString const &s : asDirectLines) + m_setDirectRows.insert( s ); vector setToLoad; split( TOP_MENUS, ",", setToLoad );