mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 12:28:13 -04:00
Move worker_group dtor to header
This commit is contained in:
parent
1062b62b6a
commit
0b58eab1e6
@ -59,7 +59,7 @@ class worker_group {
|
||||
size_t max_num_workers = 1,
|
||||
size_t max_queue_len = std::numeric_limits<size_t>::max());
|
||||
|
||||
~worker_group();
|
||||
~worker_group() = default;
|
||||
|
||||
void stop() { impl_->stop(); }
|
||||
void wait() { impl_->wait(); }
|
||||
|
@ -315,6 +315,4 @@ worker_group::worker_group(load_adaptive_tag, const char* group_name,
|
||||
: impl_{std::make_unique<basic_worker_group<load_adaptive_policy>>(
|
||||
group_name, max_num_workers, max_queue_len, max_num_workers)} {}
|
||||
|
||||
worker_group::~worker_group() = default;
|
||||
|
||||
} // namespace dwarfs
|
||||
|
Loading…
x
Reference in New Issue
Block a user