Commit a4eb946
committed
Avoid unnecessary copies in updateInputFlinger
Lambda capture values are const by default, preventing a move from occurring despite using std::move. Declaring the lambda "mutable" fixes this.
Bug: 352744079
Flag: EXEMPT refactor
Test: presubmits
Change-Id: I322e8a6c85c810cc90669d043c4f72feb57a97ae1 parent 525e783 commit a4eb946
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4021 | 4021 | | |
4022 | 4022 | | |
4023 | 4023 | | |
4024 | | - | |
| 4024 | + | |
| 4025 | + | |
4025 | 4026 | | |
4026 | 4027 | | |
4027 | 4028 | | |
| |||
0 commit comments