fix compile error

This commit is contained in:
Evan Tschannen 2021-03-17 16:31:44 -07:00
parent ec4c29361c
commit bf4fcbdb5e
1 changed files with 2 additions and 2 deletions

View File

@ -869,8 +869,8 @@ public:
tasks.push(Task(actualTime + seconds,
taskID,
ordered ? taskCount++ : (deterministicRandom()->randomUInt64() << 32) | taskCount++,
ordered,
machine,
ordered,
f));
mutex.leave();
@ -2115,7 +2115,7 @@ public:
mutex.enter();
ASSERT(taskID >= TaskPriority::Min && taskID <= TaskPriority::Max);
tasks.push(Task(actualTime, taskID, taskCount++, getCurrentProcess(), true, std::move(signal)));
tasks.push(Task(actualTime, taskID, taskCount++, true, getCurrentProcess(), std::move(signal)));
mutex.leave();
}
bool isOnMainThread() const override { return net2->isOnMainThread(); }