From 97b796e7788ae69c0aaeec2644246d9f10d2739d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:25:17 +0200 Subject: finally, perfect .clang-format settings? --- test/unit_tests/worker/worker.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'test/unit_tests/worker') diff --git a/test/unit_tests/worker/worker.cpp b/test/unit_tests/worker/worker.cpp index c4dadf8..6f035ff 100644 --- a/test/unit_tests/worker/worker.cpp +++ b/test/unit_tests/worker/worker.cpp @@ -96,15 +96,17 @@ int loop() { const auto cmd = Command::open(); while (!exit_loop) { - cmd->process_action([&exit_loop](Command::Action action, - const Command::Args& args, - Command::Result& result) { - if (action == Command::EXIT) { - exit_loop = true; - } else { - process_action(action, args, result); + cmd->process_action( + [&exit_loop]( + Command::Action action, const Command::Args& args, Command::Result& result + ) { + if (action == Command::EXIT) { + exit_loop = true; + } else { + process_action(action, args, result); + } } - }); + ); } return 0; } -- cgit v1.3