Delete unused default members from Client::Impl.

GitOrigin-RevId: 5d5afa0b5df874d0ab2c8b156723955568fcf24f
This commit is contained in:
levlam 2018-07-09 02:36:44 +03:00
parent 6e57c13f43
commit 71069a4667

View File

@ -59,6 +59,10 @@ class Client::Impl final {
return {0, nullptr};
}
Impl(const Impl &) = delete;
Impl &operator=(const Impl &) = delete;
Impl(Impl &&) = delete;
Impl &operator=(Impl &&) = delete;
~Impl() {
{
auto guard = scheduler_->get_current_guard();
@ -223,6 +227,10 @@ class Client::Impl final : ObserverBase {
return {0, nullptr};
}
Impl(const Impl &) = delete;
Impl &operator=(const Impl &) = delete;
Impl(Impl &&) = delete;
Impl &operator=(Impl &&) = delete;
~Impl() {
input_queue_->writer_put({0, nullptr});
scheduler_thread_.join();