diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-04-27 16:26:32 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-04-28 07:45:22 +0200 |
| commit | 9958edba41ac49097a54e0872c3c4934d2dd81f9 (patch) | |
| tree | d6250c1adab075142033febd690c849830bfced9 /src/gui/vulkan/qplatformvulkaninstance.cpp | |
| parent | bd69821074d62a6e8b5eca56d7b9307e1b3e8645 (diff) | |
Support move-only functors in invokeMethod and async APIs
Move-only functors must never be passed by value, so fix the
QFunctorSlotObject constructor accordingly.
This then requires adjustments to the various QMetaMethod::invokeMethod
overloads, as those must also perfectly forwad the functor type.
Enable the previously failing test case for move-only functors.
Change-Id: I9c544fd3ddbc5e1da3ca193236291a9f83d86211
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/vulkan/qplatformvulkaninstance.cpp')
0 files changed, 0 insertions, 0 deletions
