qt6-bb10/tests/auto/network/access
Marc Mutz a564618838 HttpTestServer: pass std::function by value and move into place
Virtually all callers of this function (will) pass rvalues, so take
the std::function by value (reaping C++17 guaranteed copy elision) and
std::move() into the member variable ("perfect sink").

Like for many owning types, moves are much cheaper than copies for
std::function, because the external state is merely tranferred between
objects, and not copied.

Amends e560adef21.

Pick-to: 6.7
Change-Id: I269b54e51ba09ac595ac4e4f255209778819adad
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-18 19:06:02 +02:00
..
hpack Change license for tests files 2024-02-04 09:56:42 +01:00
hsts Change license for tests files 2024-02-04 09:56:42 +01:00
http2 Tests: make some QFile::open calls fail 2024-04-13 01:36:06 +02:00
qabstractnetworkcache Change license for tests files 2024-02-04 09:56:42 +01:00
qdecompresshelper Change license for tests files 2024-02-04 09:56:42 +01:00
qhttp2connection QHttp2Connection: fix handling of replies on locally initiated stream 2024-04-11 21:53:59 +02:00
qhttpheaderparser Change license for tests files 2024-02-04 09:56:42 +01:00
qhttpheaders CMake: Make a few more auto tests standalone 2024-03-14 01:14:18 +01:00
qhttpnetworkconnection tst_QHttpNetworkConnection: Move to use only one ctor 2024-04-17 20:30:36 +02:00
qhttpnetworkreply Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkaccessmanager Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcachemetadata Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcookie Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcookiejar Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkdiskcache Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkreply Tests: make some QFile::open calls fail 2024-04-13 01:36:06 +02:00
qnetworkrequest Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkrequestfactory CMake: Make a few more auto tests standalone 2024-03-14 01:14:18 +01:00
qrestaccessmanager HttpTestServer: pass std::function by value and move into place 2024-04-18 19:06:02 +02:00
CMakeLists.txt Privately introduce QHttp2Connection 2024-01-17 16:05:25 +01:00