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

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) void Utility::WaitUntil(const function<bool (void)>& predicate)
{ {
while (!predicate) while (!predicate())
Application::GetInstance()->ProcessEvents(); Application::GetInstance()->ProcessEvents();
} }