Fix warning.

This commit is contained in:
levlam 2022-10-05 16:23:08 +03:00
parent ff91aa0192
commit 7c2fae669a

View File

@ -90,6 +90,8 @@ void ConcurrentScheduler::start() {
if (thread_affinity_mask != 0) {
thread::set_affinity_mask(this_thread::get_id(), thread_affinity_mask).ignore();
}
#else
(void)thread_affinity_mask;
#endif
while (!is_finished()) {
sched->run(Timestamp::in(10));