QTimer: lambdas don't implicitly capture 'this' in C++20

Can't use [=, this], as clang fails to build with:
error: explicit capture of 'this' with a capture default of '=' is a
C++20 extension [-Werror,-Wc++20-extensions]

Change-Id: I8ead9cb493cb1e295aa03386d80af6e83ba8cbb4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Ahmad Samir 2023-04-26 15:19:35 +02:00
parent f89c4c4f8f
commit 369952fbd7

Diff Content Not Available