Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -Wdeprecated-this-capture warnings #1025

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DenizThatMenace
Copy link

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
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.

None yet

1 participant