summaryrefslogtreecommitdiffhomepage
path: root/example/asio_example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-04 19:17:49 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-04 19:17:49 +0100
commitc3d1321dd6a192424603ccdfc7cbff6fc855816e (patch)
treefdf7bd69790e6d77d7ab17287648a1437507beca /example/asio_example
parentb3665262dbbe1de0324747f933a69a876fc75ca6 (diff)
feat: asio.hpp: refactors for example.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/asio_example')
-rw-r--r--example/asio_example/example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asio_example/example.cpp b/example/asio_example/example.cpp
index 0aeb285..52b5de5 100644
--- a/example/asio_example/example.cpp
+++ b/example/asio_example/example.cpp
@@ -28,6 +28,6 @@ int main()
co_return;
}, boost::asio::detached);
- ocl::asio::run_loop<[]() { std::terminate(); return; }>(ioc);
+ ocl::asio::run<[]() { std::terminate(); return; }>(ioc);
return EXIT_SUCCESS;
}