Remove implicit capture of this with [=]
Implicit capture of this via [=] is deprecated in C++20.
This patch avoids the compiler warning
tst_qhttpserver.cpp:488:34: warning: implicit capture of ‘this’
via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
488 | return QtConcurrent::run([=]() {
Amends: 7c6ff5fab95bca52932649adadc67751eb351a54
Pick-to: 6.9 6.8
Change-Id: Id8467dc58fbabe1f36dec894ee101ef5853b4c73
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>