Chromium Code Reviews
DescriptionFix unused lambda captures in //chrome, //services/ui and //ui.
Clang just got a new warning about unused lambda captures,
and that requires us to clean all places with this issue
across all the Chromium code base. This CL fixes all such
cases in //chrome, //services/ui and //ui.
An example of a code that is no longer considered normal is
auto g = [i, j]() { printf("%d\n", i); };
in which j is never used in the lambda and therefore its capture is unnecessary.
BUG=681136
Review-Url: https://codereview.chromium.org/2646863002
Cr-Commit-Position: refs/heads/master@{#445062}
Committed: https://chromium.googlesource.com/chromium/src/+/ea33b332c6d28c050b657baada979a22ae5ad3a6
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||