diff options
Diffstat (limited to '3rdparty/asio/src/tests/unit/execution/context_as.cpp')
-rw-r--r-- | 3rdparty/asio/src/tests/unit/execution/context_as.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/3rdparty/asio/src/tests/unit/execution/context_as.cpp b/3rdparty/asio/src/tests/unit/execution/context_as.cpp index d2bd956c1c9..13311ba262b 100644 --- a/3rdparty/asio/src/tests/unit/execution/context_as.cpp +++ b/3rdparty/asio/src/tests/unit/execution/context_as.cpp @@ -2,7 +2,7 @@ // context_as.cpp // ~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff 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) @@ -16,24 +16,14 @@ // Test that header file is self-contained. #include "asio/execution/context_as.hpp" +#include <functional> #include "asio/execution/any_executor.hpp" #include "asio/io_context.hpp" #include "asio/static_thread_pool.hpp" #include "../unit_test.hpp" -#if defined(ASIO_HAS_BOOST_BIND) -# include <boost/bind/bind.hpp> -#else // defined(ASIO_HAS_BOOST_BIND) -# include <functional> -#endif // defined(ASIO_HAS_BOOST_BIND) - using namespace asio; - -#if defined(ASIO_HAS_BOOST_BIND) -namespace bindns = boost; -#else // defined(ASIO_HAS_BOOST_BIND) namespace bindns = std; -#endif void context_as_executor_query_test() { |