Let Mac OS X have goodies.

This commit is contained in:
Jason Felds
2013-04-29 23:37:10 -04:00
parent 71d993ee39
commit c07d4cf78f
11 changed files with 4 additions and 117 deletions
-13
View File
@@ -1203,21 +1203,8 @@ bool Song::IsTutorial() const
bool Song::HasEdits( StepsType st ) const
{
#ifdef MACOSX
for (Steps const *pSteps : m_vpSteps)
{
if( pSteps->m_StepsType == st &&
pSteps->GetDifficulty() == Difficulty_Edit )
{
return true;
}
}
return false;
#else
return std::any_of(m_vpSteps.begin(), m_vpSteps.end(),
[&](Steps const *step) { return step->m_StepsType == st && step->GetDifficulty() == Difficulty_Edit; });
#endif
}
bool Song::NormallyDisplayed() const