diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-05-02 11:14:36 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-05-02 18:32:01 +0200 |
| commit | 106c2fd19dfbd6eeb741a2e8df684702a610f85b (patch) | |
| tree | 48e58d1289c812449845ebc3f99a2add72cfcd60 /src/gui/platform/unix/qgenericunixservices.cpp | |
| parent | 51bcad8a614bafb8be6a98ea8c709a7f3669ff37 (diff) | |
QTimer: fix compilation with C++20
Implicit capture of *this by [=] is deprecated in C++20, and the
replacement [=,this] is not available in C++17. We also can't use [&],
because of QueuedConnection, so need to bite the bullet and list all
captured variables separately.
Amends 87535e4e4337596066258e361143cb9906e89512.
Change-Id: I5b3a713bf9220746d10d594d1a248028157ad170
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
