qt5base-lts/tests/auto/corelib
Volker Hilsheimer 6e2bba71bb Pass functor through as references until stored
Amends 642f799fc6 to avoid unnecessary
copies in between the calls to the QFunctorSlotObject construcotr. We
can't use a univeral reference in the QFunctorSlotObject constructor
as the call is not deduced. So provide two overloads for lvalue and
rvalue references instead.

The compile check in the test now no longer fails as we delay the
storage until one level later, but that's acceptable.

Change-Id: Ide95b4a73c70f6f47698dd1e95138aa5d48ee95d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-05-03 14:02:28 +02:00
..
animation tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
global Short live Q_NODISCARD_CTOR 2023-04-30 19:42:29 +02:00
io Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00
ipc IPC: tst_QNativeIpcKey: rename duplicate row in test 2023-04-28 22:30:13 -05:00
itemmodels Remove unused variables 2023-04-19 12:55:02 +02:00
kernel Pass functor through as references until stored 2023-05-03 14:02:28 +02:00
mimetypes mimetypes/: port to qsizetype 2023-04-15 17:21:10 +02:00
platform tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
plugin QPluginLoader: don't instantiante multiple, identical instances 2023-04-05 00:29:16 -07:00
serialization qc14n.h: general cleanup 2023-05-01 22:52:22 +03:00
text QString: add a tst_QString variant with QT_NO_CAST_FROM_ASCII 2023-04-29 18:15:23 +02:00
thread Rid of 'special case' markers 2023-04-13 18:30:58 +02:00
time Move some repeated constants from tests into tst_QDate 2023-05-02 17:03:27 +02:00
tools Remove unused variables 2023-04-19 12:55:02 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00