diff options
Diffstat (limited to 'example/allocator_op_example/example.cpp')
| -rw-r--r-- | example/allocator_op_example/example.cpp | 14 |
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(); } |
