diff options
Diffstat (limited to '3rdparty/asio/src/tests/unit/ip/address.cpp')
-rw-r--r-- | 3rdparty/asio/src/tests/unit/ip/address.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/3rdparty/asio/src/tests/unit/ip/address.cpp b/3rdparty/asio/src/tests/unit/ip/address.cpp index 1a7024d5d53..a13a343c8e9 100644 --- a/3rdparty/asio/src/tests/unit/ip/address.cpp +++ b/3rdparty/asio/src/tests/unit/ip/address.cpp @@ -2,7 +2,7 @@ // address.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) @@ -128,10 +128,8 @@ void test() wos << addr1; #endif // !defined(BOOST_NO_STD_WSTREAMBUF) -#if defined(ASIO_HAS_STD_HASH) std::size_t hash1 = std::hash<ip::address>()(addr1); (void)hash1; -#endif // defined(ASIO_HAS_STD_HASH) } catch (std::exception&) { @@ -145,5 +143,5 @@ void test() ASIO_TEST_SUITE ( "ip/address", - ASIO_TEST_CASE(ip_address_compile::test) + ASIO_COMPILE_TEST_CASE(ip_address_compile::test) ) |