diff options
| -rw-r--r-- | include/ocl/asio.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <run_pred_type IOCPred> - inline void run_loop(io_context& ioc) + inline void run(io_context_type& ioc) { try { |
