summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/generic/basic_endpoint.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/generic/basic_endpoint.hpp')
-rw-r--r--3rdparty/asio/include/asio/generic/basic_endpoint.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/3rdparty/asio/include/asio/generic/basic_endpoint.hpp b/3rdparty/asio/include/asio/generic/basic_endpoint.hpp
index 1faf4a174b5..e7e1f6d4103 100644
--- a/3rdparty/asio/include/asio/generic/basic_endpoint.hpp
+++ b/3rdparty/asio/include/asio/generic/basic_endpoint.hpp
@@ -2,7 +2,7 @@
// generic/basic_endpoint.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)
@@ -54,7 +54,7 @@ public:
#endif
/// Default constructor.
- basic_endpoint()
+ basic_endpoint() noexcept
{
}
@@ -78,13 +78,11 @@ public:
{
}
-#if defined(ASIO_HAS_MOVE)
/// Move constructor.
basic_endpoint(basic_endpoint&& other)
: impl_(other.impl_)
{
}
-#endif // defined(ASIO_HAS_MOVE)
/// Assign from another endpoint.
basic_endpoint& operator=(const basic_endpoint& other)
@@ -93,14 +91,12 @@ public:
return *this;
}
-#if defined(ASIO_HAS_MOVE)
/// Move-assign from another endpoint.
basic_endpoint& operator=(basic_endpoint&& other)
{
impl_ = other.impl_;
return *this;
}
-#endif // defined(ASIO_HAS_MOVE)
/// The protocol associated with the endpoint.
protocol_type protocol() const