diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-05 17:09:59 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-05 17:10:22 +0200 |
| commit | 633fd6d1c27de9b570dd5e095227f9f2c5b4697b (patch) | |
| tree | 1c4c6b4cb5075a16aaa81ead1efb21d2c5b732f2 /test/unit_tests | |
| parent | cmake: use BoostConfig.cmake (diff) | |
| download | winapi-common-633fd6d1c27de9b570dd5e095227f9f2c5b4697b.tar.gz winapi-common-633fd6d1c27de9b570dd5e095227f9f2c5b4697b.zip | |
try a fix for compiler warnings
Not sure, maybe they should be preserved in the scope? We'll see.
Diffstat (limited to '')
| -rw-r--r-- | test/unit_tests/process_worker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_tests/process_worker.cpp b/test/unit_tests/process_worker.cpp index 8f9f765..d05efaa 100644 --- a/test/unit_tests/process_worker.cpp +++ b/test/unit_tests/process_worker.cpp @@ -116,7 +116,7 @@ void check_console_buffer_inherit(Worker& worker, const std::vector<std::string> std::cout << PLACEHOLDER << std::endl; } // Order worker to write the lines: - const auto handles = worker.test_write(); + worker.test_write(); // Query worker process's window: const auto worker_actual = worker.read_last_lines(numof_lines); // Query this process's window: @@ -143,7 +143,7 @@ void check_console_buffer_new(Worker& worker, const std::vector<std::string>& ex std::cout << PLACEHOLDER << std::endl; } // Order worker to write the lines: - const auto handles = worker.test_write(); + worker.test_write(); // Query worker process's window: const auto worker_actual = worker.read_last_lines(numof_lines); // Query this process's window: |
