summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/SerialScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/scheduling/SerialScheduler.h')
-rw-r--r--include/framework/scheduling/SerialScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/framework/scheduling/SerialScheduler.h b/include/framework/scheduling/SerialScheduler.h
index 9c767e8..93611d1 100644
--- a/include/framework/scheduling/SerialScheduler.h
+++ b/include/framework/scheduling/SerialScheduler.h
@@ -47,7 +47,7 @@ public:
void schedule_job(std::function<void(void*)> job, size_t size, void *args) {
size_t ts = m_counter++;
auto t = Task(size, ts, job, args);
- t();
+ t(0);
}
void shutdown() {