From 1446bc3f94c25697022ae6f482f02516c7da86de Mon Sep 17 00:00:00 2001 From: gittiver Date: Mon, 6 Jan 2025 20:23:16 +0100 Subject: [PATCH] Update tests/unittest.cpp Co-authored-by: Ilya Andreev --- tests/unittest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unittest.cpp b/tests/unittest.cpp index c99fe5d7f..7da485c90 100644 --- a/tests/unittest.cpp +++ b/tests/unittest.cpp @@ -3929,8 +3929,8 @@ TEST_CASE("task_timer") b = true; }); - asio::steady_timer t(io_service); - asio::error_code ec; + asio::steady_timer t(io_context); + asio_error_code ec; t.expires_from_now(3 * timer.get_tick_length()); t.wait(ec);