package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
837 B
16 lines
837 B
diff --git a/include/cinatra/ylt/coro_io/channel.hpp b/include/cinatra/ylt/coro_io/channel.hpp |
|
index bdaec57..ed6dab6 100644 |
|
--- a/include/cinatra/ylt/coro_io/channel.hpp |
|
+++ b/include/cinatra/ylt/coro_io/channel.hpp |
|
@@ -160,10 +160,7 @@ class channel { |
|
channel(const channel& o) = delete; |
|
channel& operator=(const channel& o) = delete; |
|
|
|
- auto send_request(auto op, typename client_t::config& config) |
|
- -> decltype(std::declval<client_pool_t>().send_request(std::move(op), |
|
- std::string_view{}, |
|
- config)) { |
|
+ auto send_request(auto op, typename client_t::config& config) { |
|
std::shared_ptr<client_pool_t> client_pool; |
|
if (client_pools_.size() > 1) { |
|
client_pool = co_await std::visit(
|
|
|