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
-9
View File
@@ -388,16 +388,7 @@ bool DisplayBpms::BpmIsConstant() const
bool DisplayBpms::IsSecret() const
{
#ifdef MACOSX
for (float const &f : vfBpms)
{
if( f == -1 )
return true;
}
return false;
#else
return std::any_of(vfBpms.begin(), vfBpms.end(), [](float const &f) { return f == -1; });
#endif
}
static const char *StyleTypeNames[] = {