summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/generic/stream_protocol.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/generic/stream_protocol.hpp')
-rw-r--r--3rdparty/asio/include/asio/generic/stream_protocol.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/asio/include/asio/generic/stream_protocol.hpp b/3rdparty/asio/include/asio/generic/stream_protocol.hpp
index 6917c199c51..270006e60ed 100644
--- a/3rdparty/asio/include/asio/generic/stream_protocol.hpp
+++ b/3rdparty/asio/include/asio/generic/stream_protocol.hpp
@@ -2,7 +2,7 @@
// generic/stream_protocol.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)
@@ -74,19 +74,19 @@ public:
}
/// Obtain an identifier for the type of the protocol.
- int type() const
+ int type() const noexcept
{
return ASIO_OS_DEF(SOCK_STREAM);
}
/// Obtain an identifier for the protocol.
- int protocol() const
+ int protocol() const noexcept
{
return protocol_;
}
/// Obtain an identifier for the protocol family.
- int family() const
+ int family() const noexcept
{
return family_;
}