diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 19:25:17 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 19:25:17 +0200 |
| commit | 97b796e7788ae69c0aaeec2644246d9f10d2739d (patch) | |
| tree | b6397ccbabde7ee3e470c6a9ae799c91d6e070e2 /test/unit_tests/shared/worker.hpp | |
| parent | upgrade winapi-utf8 (diff) | |
| download | winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.tar.gz winapi-common-97b796e7788ae69c0aaeec2644246d9f10d2739d.zip | |
finally, perfect .clang-format settings?
Diffstat (limited to '')
| -rw-r--r-- | test/unit_tests/shared/worker.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/unit_tests/shared/worker.hpp b/test/unit_tests/shared/worker.hpp index 9ba7020..fe11ddb 100644 --- a/test/unit_tests/shared/worker.hpp +++ b/test/unit_tests/shared/worker.hpp @@ -37,8 +37,9 @@ public: HWND get_console_window() { HWND ret = NULL; - m_cmd->get_result(Command::GET_CONSOLE_WINDOW, - [&ret](const Command::Result& result) { ret = result.console_window; }); + m_cmd->get_result(Command::GET_CONSOLE_WINDOW, [&ret](const Command::Result& result) { + ret = result.console_window; + }); return ret; } @@ -52,15 +53,17 @@ public: StdHandles get_std_handles() { StdHandles ret; - m_cmd->get_result(Command::GET_STD_HANDLES, - [&ret](const Command::Result& result) { ret = result.std_handles; }); + m_cmd->get_result(Command::GET_STD_HANDLES, [&ret](const Command::Result& result) { + ret = result.std_handles; + }); return ret; } StdHandles test_write() { StdHandles ret; - m_cmd->get_result(Command::TEST_WRITE, - [&ret](const Command::Result& result) { ret = result.std_handles; }); + m_cmd->get_result(Command::TEST_WRITE, [&ret](const Command::Result& result) { + ret = result.std_handles; + }); return ret; } |
