mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 22:40:03 -04:00
Fix compile warning
This commit is contained in:
parent
4df32dc00c
commit
11a64ea6fe
@ -62,7 +62,7 @@ class basic_worker_group : public worker_group::impl, private Policy {
|
|||||||
for (size_t i = 0; i < num_workers; ++i) {
|
for (size_t i = 0; i < num_workers; ++i) {
|
||||||
workers_.emplace_back([=] {
|
workers_.emplace_back([=] {
|
||||||
folly::setThreadName(folly::to<std::string>(group_name, i + 1));
|
folly::setThreadName(folly::to<std::string>(group_name, i + 1));
|
||||||
::nice(niceness);
|
static_cast<void>(::nice(niceness));
|
||||||
do_work();
|
do_work();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user