diff options
Diffstat (limited to '3rdparty/asio/include/asio/impl/executor.ipp')
-rw-r--r-- | 3rdparty/asio/include/asio/impl/executor.ipp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/3rdparty/asio/include/asio/impl/executor.ipp b/3rdparty/asio/include/asio/impl/executor.ipp index 605333e4879..4153a171e09 100644 --- a/3rdparty/asio/include/asio/impl/executor.ipp +++ b/3rdparty/asio/include/asio/impl/executor.ipp @@ -2,7 +2,7 @@ // impl/executor.ipp // ~~~~~~~~~~~~~~~~~ // -// 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,17 +16,20 @@ #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include "asio/detail/config.hpp" + +#if !defined(ASIO_NO_TS_EXECUTORS) + #include "asio/executor.hpp" #include "asio/detail/push_options.hpp" namespace asio { -bad_executor::bad_executor() ASIO_NOEXCEPT +bad_executor::bad_executor() noexcept { } -const char* bad_executor::what() const ASIO_NOEXCEPT_OR_NOTHROW +const char* bad_executor::what() const noexcept { return "bad executor"; } @@ -35,4 +38,6 @@ const char* bad_executor::what() const ASIO_NOEXCEPT_OR_NOTHROW #include "asio/detail/pop_options.hpp" +#endif // !defined(ASIO_NO_TS_EXECUTORS) + #endif // ASIO_IMPL_EXECUTOR_IPP |