File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
include/boost/redis/detail Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
11
#include < boost/redis/request.hpp>
12
12
#include < boost/redis/response.hpp>
13
13
#include < boost/redis/operation.hpp>
14
+ #include < boost/redis/adapter/any_adapter.hpp>
14
15
#include < boost/redis/detail/helper.hpp>
15
16
#include < boost/redis/config.hpp>
16
17
#include < boost/asio/steady_timer.hpp>
@@ -44,7 +45,7 @@ class ping_op {
44
45
}
45
46
46
47
BOOST_ASIO_CORO_YIELD
47
- conn_->async_exec (checker_->req_ , checker_->resp_ , std::move (self));
48
+ conn_->async_exec (checker_->req_ , any_adapter ( checker_->resp_ ) , std::move (self));
48
49
if (ec || is_cancelled (self)) {
49
50
logger_.trace (" ping_op: error/cancelled (1)." );
50
51
checker_->wait_timer_ .cancel ();
Original file line number Diff line number Diff line change 7
7
#ifndef BOOST_REDIS_RUNNER_HPP
8
8
#define BOOST_REDIS_RUNNER_HPP
9
9
10
+ #include < boost/redis/adapter/any_adapter.hpp>
10
11
#include < boost/redis/detail/health_checker.hpp>
11
12
#include < boost/redis/config.hpp>
12
13
#include < boost/redis/response.hpp>
@@ -47,7 +48,7 @@ struct hello_op {
47
48
runner_->add_hello ();
48
49
49
50
BOOST_ASIO_CORO_YIELD
50
- conn_->async_exec (runner_->hello_req_ , runner_->hello_resp_ , std::move (self));
51
+ conn_->async_exec (runner_->hello_req_ , any_adapter ( runner_->hello_resp_ ) , std::move (self));
51
52
logger_.on_hello (ec, runner_->hello_resp_ );
52
53
53
54
if (ec || runner_->has_error_in_response () || is_cancelled (self)) {
You can’t perform that action at this time.
0 commit comments