summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/uses_executor.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/uses_executor.hpp')
-rw-r--r--3rdparty/asio/include/asio/uses_executor.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/3rdparty/asio/include/asio/uses_executor.hpp b/3rdparty/asio/include/asio/uses_executor.hpp
index 53b727275fb..ff475cad4a1 100644
--- a/3rdparty/asio/include/asio/uses_executor.hpp
+++ b/3rdparty/asio/include/asio/uses_executor.hpp
@@ -2,7 +2,7 @@
// uses_executor.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)
@@ -34,7 +34,7 @@ namespace asio {
struct executor_arg_t
{
/// Constructor.
- ASIO_CONSTEXPR executor_arg_t() ASIO_NOEXCEPT
+ constexpr executor_arg_t() noexcept
{
}
};
@@ -45,11 +45,7 @@ struct executor_arg_t
* See asio::executor_arg_t and asio::uses_executor
* for more information.
*/
-#if defined(ASIO_HAS_CONSTEXPR) || defined(GENERATING_DOCUMENTATION)
constexpr executor_arg_t executor_arg;
-#elif defined(ASIO_MSVC)
-__declspec(selectany) executor_arg_t executor_arg;
-#endif
/// The uses_executor trait detects whether a type T has an associated executor
/// that is convertible from type Executor.