Skip to content

Conversation

DenizThatMenace
Copy link
Contributor

C++20 deprecated implicit capturing of this in lambdas when capturing with [=].
Therefore this PR replaces these implicit captures by explicit ones.
(This is backwards-compatible with earlier C++ standards that support lambdas.)

C++20 deprecated implicit capturing of `this` in lambdas when capturing
with `[=]`. Therefore these implicit captures are replaced by explicit
ones. (This is backwards-compatible with earlier C++ standards that
support lambdas.)
@DenizThatMenace DenizThatMenace force-pushed the fix-warnings/deprecated-this-capture branch from 45a6173 to e4e531c Compare April 24, 2024 16:05
@DenizThatMenace DenizThatMenace force-pushed the fix-warnings/deprecated-this-capture branch from e4e531c to 5104ce2 Compare May 15, 2024 14:35
@ondys ondys merged commit 19ca10d into google:main Sep 4, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants