summaryrefslogtreecommitdiffhomepage
path: root/example/allocator_op_example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-18 06:51:01 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-18 06:51:01 +0100
commit0745b058c1fd373a10210c8d9397008b145d82bd (patch)
tree506b6d858b49e5dcc1e75e8e4f7a705553722668 /example/allocator_op_example
parente3c44bac404812920f6e19285bd126b087f3bc39 (diff)
[CHORE] Update examples for Asio and AllocOp.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/allocator_op_example')
-rw-r--r--example/allocator_op_example/example.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/example/allocator_op_example/example.cpp b/example/allocator_op_example/example.cpp
index 7c521fd..bd34955 100644
--- a/example/allocator_op_example/example.cpp
+++ b/example/allocator_op_example/example.cpp
@@ -23,11 +23,11 @@ int task()
int main()
{
- auto ret = std::async(std::launch::deferred, task);
- auto ret2 = std::async(std::launch::deferred, task);
- auto ret3 = std::async(std::launch::deferred, task);
-
- ret.get();
- ret2.get();
- ret3.get();
+ auto ret = std::async(std::launch::deferred, task);
+ auto ret2 = std::async(std::launch::deferred, task);
+ auto ret3 = std::async(std::launch::deferred, task);
+
+ ret.get();
+ ret2.get();
+ ret3.get();
}