DescriptionFix places that trigger no-unused-lambda-capture
no-unused-lambda-capture was suppressed, but it's been decided as desireable to stop suppressing it. This CL fixes places in the code that trigger it.
1. Some unnecessary captures removed.
2. s/constexpr/const when capturing a float by value - this is good enough to stop the error.
3. Complete removal of the constexpr/const-modifier for int-types as a workaround.
BUG=webrtc:7133
Review-Url: https://codereview.webrtc.org/3005433002
Cr-Commit-Position: refs/heads/master@{#19462}
Committed: https://chromium.googlesource.com/external/webrtc/+/1cc5fc3ebfacefe8326abb6c3367be6ddf524957
Patch Set 1 #
Total comments: 6
Patch Set 2 : Rebased #
Total comments: 12
Messages
Total messages: 21 (7 generated)
|