diff options
Diffstat (limited to '3rdparty/asio/include/asio/local/stream_protocol.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/local/stream_protocol.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/asio/include/asio/local/stream_protocol.hpp b/3rdparty/asio/include/asio/local/stream_protocol.hpp index e8094ccb9a1..4cbad450fc5 100644 --- a/3rdparty/asio/include/asio/local/stream_protocol.hpp +++ b/3rdparty/asio/include/asio/local/stream_protocol.hpp @@ -2,7 +2,7 @@ // local/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) @@ -47,19 +47,19 @@ class stream_protocol { public: /// Obtain an identifier for the type of the protocol. - int type() const + int type() const noexcept { return SOCK_STREAM; } /// Obtain an identifier for the protocol. - int protocol() const + int protocol() const noexcept { return 0; } /// Obtain an identifier for the protocol family. - int family() const + int family() const noexcept { return AF_UNIX; } |