diff options
Diffstat (limited to '3rdparty/asio/include/asio/local/datagram_protocol.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/local/datagram_protocol.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/asio/include/asio/local/datagram_protocol.hpp b/3rdparty/asio/include/asio/local/datagram_protocol.hpp index 17773d77aae..a147eb8c7f4 100644 --- a/3rdparty/asio/include/asio/local/datagram_protocol.hpp +++ b/3rdparty/asio/include/asio/local/datagram_protocol.hpp @@ -2,7 +2,7 @@ // local/datagram_protocol.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2021 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) @@ -45,19 +45,19 @@ class datagram_protocol { public: /// Obtain an identifier for the type of the protocol. - int type() const + int type() const ASIO_NOEXCEPT { return SOCK_DGRAM; } /// Obtain an identifier for the protocol. - int protocol() const + int protocol() const ASIO_NOEXCEPT { return 0; } /// Obtain an identifier for the protocol family. - int family() const + int family() const ASIO_NOEXCEPT { return AF_UNIX; } |