// // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MYSQL_TEST_COMMON_TEST_CONNECTION_HPP #define BOOST_MYSQL_TEST_COMMON_TEST_CONNECTION_HPP #include #include "test_channel.hpp" #include "test_stream.hpp" namespace boost { namespace mysql { namespace test { using test_connection = connection; inline test_channel& get_channel(test_connection& conn) noexcept { return boost::mysql::detail::connection_access::get_channel(conn); } } // namespace test } // namespace mysql } // namespace boost #endif