Skip to content

Commit 712f1c7

Browse files
authored
fix load_blancer move assign operator (#856)
1 parent db90069 commit 712f1c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/ylt/coro_io/load_blancer.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class load_blancer {
158158
this->config_ = std::move(o.config_);
159159
this->lb_worker = std::move(o.lb_worker);
160160
this->client_pools_ = std::move(o.client_pools_);
161+
return *this;
161162
}
162163
load_blancer(const load_blancer& o) = delete;
163164
load_blancer& operator=(const load_blancer& o) = delete;

0 commit comments

Comments
 (0)