From 0745b058c1fd373a10210c8d9397008b145d82bd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 18 Mar 2026 06:51:01 +0100 Subject: [CHORE] Update examples for Asio and AllocOp. Signed-off-by: Amlal El Mahrouss --- example/allocator_op_example/example.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'example/allocator_op_example') 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(); } -- cgit v1.2.3