diff options
Diffstat (limited to '3rdparty/asio/include/asio/detail/functional.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/functional.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/functional.hpp b/3rdparty/asio/include/asio/detail/functional.hpp index a72a5fc69fa..54256c130b0 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-2021 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) @@ -33,6 +33,12 @@ using boost::function; #endif // defined(ASIO_HAS_STD_FUNCTION) } // namespace detail + +#if defined(ASIO_HAS_STD_REFERENCE_WRAPPER) +using std::ref; +using std::reference_wrapper; +#endif // defined(ASIO_HAS_STD_REFERENCE_WRAPPER) + } // namespace asio #endif // ASIO_DETAIL_FUNCTIONAL_HPP |