Skip to content

Commit dc56b1e

Browse files
committed
fix load_blancer move assign operator
1 parent db90069 commit dc56b1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/ylt/coro_io/load_blancer.hpp

+1
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)