summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Task.h b/includes/Task.h
index e9c2add..159e68d 100644
--- a/includes/Task.h
+++ b/includes/Task.h
@@ -167,7 +167,7 @@ class Task {
return oldValue;
}
void setStackless() {
- AAssert(m_stackless, "Can't set a task to be stackless twice");
+ AAssert(!m_stackless, "Can't set a task to be stackless twice");
AAssert(m_status == STARTING, "Can't set a task to be stackless after it started. status = %s", StatusToString(m_status));
m_stackless = true;
m_okayToEAgain = true;