Skip to content

Commit

Permalink
Update to support Asio latest changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzimbres committed Nov 2, 2024
1 parent b8a52e5 commit d68c458
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ if (BOOST_REDIS_MAIN_PROJECT)
align
context
core
coroutine
static_assert
pool
date_time
Expand Down
4 changes: 2 additions & 2 deletions test/test_conn_push.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <boost/system/errc.hpp>
#include <boost/asio/detached.hpp>
#include <boost/asio/co_spawn.hpp>
#include <boost/asio/experimental/as_tuple.hpp>
#include <boost/asio/as_tuple.hpp>
#define BOOST_TEST_MODULE conn-push
#include <boost/test/included/unit_test.hpp>
#include <iostream>
Expand All @@ -21,7 +21,7 @@ namespace redis = boost::redis;
using boost::redis::operation;
using connection = boost::redis::connection;
using error_code = boost::system::error_code;
using net::experimental::as_tuple;
using net::as_tuple;
using boost::redis::request;
using boost::redis::response;
using boost::redis::ignore;
Expand Down
4 changes: 2 additions & 2 deletions test/test_conn_run_cancel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

#ifdef BOOST_ASIO_HAS_CO_AWAIT
#include <boost/asio/experimental/awaitable_operators.hpp>
#include <boost/asio/experimental/as_tuple.hpp>
#include <boost/asio/as_tuple.hpp>

namespace net = boost::asio;

using boost::redis::operation;
using boost::redis::connection;
using boost::system::error_code;
using net::experimental::as_tuple;
using net::as_tuple;
using boost::redis::request;
using boost::redis::response;
using boost::redis::ignore;
Expand Down

0 comments on commit d68c458

Please sign in to comment.