@@ -151,11 +151,11 @@ WorkData worker_wait_for_task() { // Wait for the coordinator to dispatch a task. _start_semaphore->wait(); - uint num_started = Atomic::add(1u, &_started); + uint num_started = Atomic::add(&_started, 1u); // Subtract one to get a zero-indexed worker id. uint worker_id = num_started - 1; return WorkData(_task, worker_id);