3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-21 09:29:37 +00:00

threading: whitespace

This commit is contained in:
Emil J. Tywoniak 2026-05-12 12:19:06 +02:00
parent d322e2fbe0
commit 1c831aa50d
2 changed files with 7 additions and 5 deletions

View file

@ -66,11 +66,11 @@ ThreadPool::ThreadPool(int pool_size, std::function<void(int)> b)
: body(std::move(b))
{
#ifdef YOSYS_ENABLE_THREADS
threads.reserve(pool_size);
for (int i = 0; i < pool_size; i++)
threads.emplace_back([i, this]{ body(i); });
threads.reserve(pool_size);
for (int i = 0; i < pool_size; i++)
threads.emplace_back([i, this]{ body(i); });
#else
(void)pool_size;
(void)pool_size;
#endif
}