update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// detail/impl/throw_error.ipp
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
// Copyright (c) 2003-2023 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)
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <boost/asio/detail/config.hpp>
|
||||
#include <boost/asio/detail/throw_error.hpp>
|
||||
#include <boost/asio/detail/throw_exception.hpp>
|
||||
#include <boost/system/system_error.hpp>
|
||||
|
||||
#include <boost/asio/detail/push_options.hpp>
|
||||
@@ -26,16 +25,21 @@ namespace boost {
|
||||
namespace asio {
|
||||
namespace detail {
|
||||
|
||||
void do_throw_error(const boost::system::error_code& err)
|
||||
void do_throw_error(
|
||||
const boost::system::error_code& err
|
||||
BOOST_ASIO_SOURCE_LOCATION_PARAM)
|
||||
{
|
||||
boost::system::system_error e(err);
|
||||
boost::asio::detail::throw_exception(e);
|
||||
boost::asio::detail::throw_exception(e BOOST_ASIO_SOURCE_LOCATION_ARG);
|
||||
}
|
||||
|
||||
void do_throw_error(const boost::system::error_code& err, const char* location)
|
||||
void do_throw_error(
|
||||
const boost::system::error_code& err,
|
||||
const char* location
|
||||
BOOST_ASIO_SOURCE_LOCATION_PARAM)
|
||||
{
|
||||
boost::system::system_error e(err, location);
|
||||
boost::asio::detail::throw_exception(e);
|
||||
boost::asio::detail::throw_exception(e BOOST_ASIO_SOURCE_LOCATION_ARG);
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
|
||||
Reference in New Issue
Block a user