Skip to content

Commit

Permalink
Update tests/unittest.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Ilya Andreev <[email protected]>
  • Loading branch information
gittiver and bugdea1er committed Jan 7, 2025
1 parent d2346c4 commit 1d4d167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3840,8 +3840,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);
Expand Down

0 comments on commit 1d4d167

Please sign in to comment.