qt5base-lts/tests/benchmarks/network/socket
Marc Mutz c00e443dcc tst_bench_qlocalsocket: fix Clang 10 warnings about unneeded capture
The timeToTest constant doesn't need to be captured, claims Clang.

Since I don't recall seeing this warning on GCC, be pragmatic and fix
by letting the compiler choose what to capture: [&]. timeToTest is
const, so it doesn't matter whether we capture by reference or value,
the lambda cannot change it either way.

This code doesn't seem to exist in 5.15, so merely

Pick-to: 6.3 6.2
Change-Id: I48d42ab13ed22ac5eb512dc61235b72a19636ea3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-01-24 21:11:22 +01:00
..
qlocalsocket tst_bench_qlocalsocket: fix Clang 10 warnings about unneeded capture 2022-01-24 21:11:22 +01:00
qtcpserver Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
qudpsocket Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
CMakeLists.txt Allow QWindowsPipe{Reader|Writer} to work with foreign event loops, take 2 2021-03-02 22:53:06 +02:00