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