A lambda creates a struct with a function-call operator. So use of 'this' in a lambda body is always a bit ambiguous (the outer object? Or the lambda itself? even though C++ defines it unabiguously to the former). Use a named capture variable instead of 'this' to make it obvious what is being deleted. Amends 699162c6fa6121cc496338f1d8d6e1b4287f7760. Change-Id: I48d82d788d495bac43c6adb114dfdd95a8dd0d1f Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 21811161c9109c28da70b7bb9b28df33fa9b7766) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%