Loops handled.
Hmm...is there a reason for the block surrounding those two?
This commit is contained in:
@@ -33,10 +33,10 @@ static void SetNextCombination()
|
||||
{
|
||||
vector<StepsTypeAndDifficulty> v;
|
||||
{
|
||||
FOREACH_CONST( StepsType, CommonMetrics::STEPS_TYPES_TO_SHOW.GetValue(), st )
|
||||
for (StepsType const &st : CommonMetrics::STEPS_TYPES_TO_SHOW.GetValue())
|
||||
{
|
||||
FOREACH_CONST( CourseDifficulty, CommonMetrics::COURSE_DIFFICULTIES_TO_SHOW.GetValue(), cd )
|
||||
v.push_back( StepsTypeAndDifficulty(*st, *cd) );
|
||||
for (CourseDifficulty const &cd : CommonMetrics::COURSE_DIFFICULTIES_TO_SHOW.GetValue())
|
||||
v.push_back( StepsTypeAndDifficulty(st, cd) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,12 +116,12 @@ void ScreenOptionsManageCourses::BeginScreen()
|
||||
break;
|
||||
}
|
||||
|
||||
FOREACH_CONST( Course*, m_vpCourses, p )
|
||||
for (Course const *p : m_vpCourses)
|
||||
{
|
||||
vHands.push_back( OptionRowHandlerUtil::MakeNull() );
|
||||
OptionRowDefinition &def = vHands.back()->m_Def;
|
||||
|
||||
def.m_sName = (*p)->GetDisplayFullTitle();
|
||||
def.m_sName = p->GetDisplayFullTitle();
|
||||
def.m_bAllowThemeTitle = false; // not themable
|
||||
def.m_sExplanationName = "Select Course";
|
||||
def.m_vsChoices.clear();
|
||||
|
||||
Reference in New Issue
Block a user