Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make implicit
this
capture explicit (#266)
When declaring a lambda with a value-capture default `[=, ...]`, the `this` pointer is implicitly captured by value as well. This results in potentially-unintuitive behavior (https://reviews.llvm.org/D142639) and produces a warning in newer versions of clang. This commit simply makes the implicit capture explicit, preventing the warning.
- Loading branch information