summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TaskMan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc
index 630d845..81811db 100644
--- a/src/TaskMan.cc
+++ b/src/TaskMan.cc
@@ -189,7 +189,7 @@ void Balau::TaskMan::mainLoop() {
m_signaledTasks.clear();
// Adding tasks that were added, maybe from other threads
- while ((m_pendingAdd.size() != 0) || (m_tasks.size() == 0) && !m_stopped) {
+ while (((m_pendingAdd.size() != 0) || (m_tasks.size() == 0)) && !m_stopped) {
t = m_pendingAdd.pop();
Assert(m_tasks.find(t) == m_tasks.end());
t->setup(this);