diff options
author | eidheim <eidheim@gmail.com> | 2019-09-17 12:05:53 +0300 |
---|---|---|
committer | eidheim <eidheim@gmail.com> | 2019-09-17 12:05:53 +0300 |
commit | 7bbea788cbaad9d63c574bb0621c32f74a6af9be (patch) | |
tree | 87af7d06477a8a1e39987a23b37a2e5515c72a54 /tests | |
parent | cb96ac5223bafd40d6d924b1d2d45b59598f6268 (diff) |
Deprecated Server::Connection::remote_endpoint_address() and Server::Connection::remote_endpoint_port()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/io_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/io_test.cpp b/tests/io_test.cpp index 2b00b90..e056872 100644 --- a/tests/io_test.cpp +++ b/tests/io_test.cpp @@ -31,8 +31,8 @@ int main() { echo.on_open = [&server_callback_count](shared_ptr<WsServer::Connection> connection) { ++server_callback_count; - ASSERT(!connection->remote_endpoint_address().empty()); - ASSERT(connection->remote_endpoint_port() > 0); + ASSERT(!connection->remote_endpoint().address().to_string().empty()); + ASSERT(connection->remote_endpoint().port() > 0); }; echo.on_close = [&server_callback_count](shared_ptr<WsServer::Connection> /*connection*/, int /*status*/, const string & /*reason*/) { |