Skip to content

Commit d68c458

Browse files
committed
Update to support Asio latest changes.
1 parent b8a52e5 commit d68c458

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ if (BOOST_REDIS_MAIN_PROJECT)
3838
align
3939
context
4040
core
41-
coroutine
4241
static_assert
4342
pool
4443
date_time

test/test_conn_push.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <boost/system/errc.hpp>
1010
#include <boost/asio/detached.hpp>
1111
#include <boost/asio/co_spawn.hpp>
12-
#include <boost/asio/experimental/as_tuple.hpp>
12+
#include <boost/asio/as_tuple.hpp>
1313
#define BOOST_TEST_MODULE conn-push
1414
#include <boost/test/included/unit_test.hpp>
1515
#include <iostream>
@@ -21,7 +21,7 @@ namespace redis = boost::redis;
2121
using boost::redis::operation;
2222
using connection = boost::redis::connection;
2323
using error_code = boost::system::error_code;
24-
using net::experimental::as_tuple;
24+
using net::as_tuple;
2525
using boost::redis::request;
2626
using boost::redis::response;
2727
using boost::redis::ignore;

test/test_conn_run_cancel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
#ifdef BOOST_ASIO_HAS_CO_AWAIT
1717
#include <boost/asio/experimental/awaitable_operators.hpp>
18-
#include <boost/asio/experimental/as_tuple.hpp>
18+
#include <boost/asio/as_tuple.hpp>
1919

2020
namespace net = boost::asio;
2121

2222
using boost::redis::operation;
2323
using boost::redis::connection;
2424
using boost::system::error_code;
25-
using net::experimental::as_tuple;
25+
using net::as_tuple;
2626
using boost::redis::request;
2727
using boost::redis::response;
2828
using boost::redis::ignore;

0 commit comments

Comments
 (0)