Open Vekhir opened 3 months ago
Using the default capture = captures more than it has to and leads to ambiguity whether the object is capture by value or by reference. This produces a warning in C++20.
=
Exactly enumerate the captured variables to resolve the warning.
Resolves warning 2 of #1046
Using the default capture
=
captures more than it has to and leads to ambiguity whether the object is capture by value or by reference. This produces a warning in C++20.Exactly enumerate the captured variables to resolve the warning.
Resolves warning 2 of #1046