From b3665262dbbe1de0324747f933a69a876fc75ca6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 4 Mar 2026 19:17:24 +0100 Subject: feat: asio.hpp: API design improvements. Signed-off-by: Amlal El Mahrouss --- include/ocl/asio.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ocl/asio.hpp b/include/ocl/asio.hpp index 1e4abf5..43ebd71 100644 --- a/include/ocl/asio.hpp +++ b/include/ocl/asio.hpp @@ -23,11 +23,12 @@ namespace ocl::asio { - using io_context = boost::asio::io_context; + + using io_context_type = boost::asio::io_context; using run_pred_type = void(*)(); template - inline void run_loop(io_context& ioc) + inline void run(io_context_type& ioc) { try { -- cgit v1.2.3