diff options
Diffstat (limited to '3rdparty/asio/src/examples/cpp11/socks4')
-rw-r--r-- | 3rdparty/asio/src/examples/cpp11/socks4/socks4.hpp | 4 | ||||
-rw-r--r-- | 3rdparty/asio/src/examples/cpp11/socks4/sync_client.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/asio/src/examples/cpp11/socks4/socks4.hpp b/3rdparty/asio/src/examples/cpp11/socks4/socks4.hpp index 4287b3f1948..ed7994021fc 100644 --- a/3rdparty/asio/src/examples/cpp11/socks4/socks4.hpp +++ b/3rdparty/asio/src/examples/cpp11/socks4/socks4.hpp @@ -2,7 +2,7 @@ // socks4.hpp // ~~~~~~~~~~ // -// Copyright (c) 2003-2021 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) @@ -39,7 +39,7 @@ public: // Only IPv4 is supported by the SOCKS 4 protocol. if (endpoint.protocol() != asio::ip::tcp::v4()) { - throw asio::system_error( + throw std::system_error( asio::error::address_family_not_supported); } diff --git a/3rdparty/asio/src/examples/cpp11/socks4/sync_client.cpp b/3rdparty/asio/src/examples/cpp11/socks4/sync_client.cpp index e0d20992fe2..f661aca8da5 100644 --- a/3rdparty/asio/src/examples/cpp11/socks4/sync_client.cpp +++ b/3rdparty/asio/src/examples/cpp11/socks4/sync_client.cpp @@ -2,7 +2,7 @@ // sync_client.cpp // ~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2021 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) |