Bugfix: Add missing parenthesis in function call.

This commit is contained in:
Gunnar Beutner 2013-02-06 11:39:32 +01:00
parent 580b5e358e
commit eadb309dab
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ bool Utility::Glob(const String& pathSpec, const function<void (const String&)>&
*/
void Utility::WaitUntil(const function<bool (void)>& predicate)
{
while (!predicate)
while (!predicate())
Application::GetInstance()->ProcessEvents();
}