summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/detail/functional.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/detail/functional.hpp')
-rw-r--r--3rdparty/asio/include/asio/detail/functional.hpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/3rdparty/asio/include/asio/detail/functional.hpp b/3rdparty/asio/include/asio/detail/functional.hpp
index a72a5fc69fa..145f9d2a9e1 100644
--- a/3rdparty/asio/include/asio/detail/functional.hpp
+++ b/3rdparty/asio/include/asio/detail/functional.hpp
@@ -2,7 +2,7 @@
// detail/functional.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2016 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,23 +16,18 @@
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#include "asio/detail/config.hpp"
-
#include <functional>
-#if !defined(ASIO_HAS_STD_FUNCTION)
-# include <boost/function.hpp>
-#endif // !defined(ASIO_HAS_STD_FUNCTION)
-
namespace asio {
namespace detail {
-#if defined(ASIO_HAS_STD_FUNCTION)
using std::function;
-#else // defined(ASIO_HAS_STD_FUNCTION)
-using boost::function;
-#endif // defined(ASIO_HAS_STD_FUNCTION)
} // namespace detail
+
+using std::ref;
+using std::reference_wrapper;
+
} // namespace asio
#endif // ASIO_DETAIL_FUNCTIONAL_HPP