From 712f1c7696c9e693d4a39648c2dff35d3f9a9d6b Mon Sep 17 00:00:00 2001 From: saipubw Date: Tue, 17 Dec 2024 22:20:44 +0800 Subject: [PATCH] fix load_blancer move assign operator (#856) --- include/ylt/coro_io/load_blancer.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ylt/coro_io/load_blancer.hpp b/include/ylt/coro_io/load_blancer.hpp index 15e7fa13f7..68e07e2e72 100644 --- a/include/ylt/coro_io/load_blancer.hpp +++ b/include/ylt/coro_io/load_blancer.hpp @@ -158,6 +158,7 @@ class load_blancer { this->config_ = std::move(o.config_); this->lb_worker = std::move(o.lb_worker); this->client_pools_ = std::move(o.client_pools_); + return *this; } load_blancer(const load_blancer& o) = delete; load_blancer& operator=(const load_blancer& o) = delete;