qt5base-lts/tests/benchmarks/network
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
..
access Fix various -Wdeprecated-enum-float-conversions around the code 2021-07-27 14:58:41 +02:00
kernel Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
socket tst_bench_qlocalsocket: fix Clang 10 warnings about unneeded capture 2022-01-24 21:11:22 +01:00
ssl Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
CMakeLists.txt CMake: Handle finding of OpenSSL headers correctly 2020-04-08 22:03:24 +02:00