diff options
| author | 2018-11-27 22:24:57 -0800 | |
|---|---|---|
| committer | 2018-11-28 09:29:51 -0800 | |
| commit | 9c8957dd84679fa2ea32cbfe80d7dbe2f4a490fc (patch) | |
| tree | d1b592788516838a264925026ef672b0c7617095 /compiler/optimizing/optimizing_compiler.cc | |
| parent | 23b729e17ed437d19583f70e63d1fc8a85b5dae4 (diff) | |
Fix "performance-for-range-copy" error.
Not sure why this only shows up with -std=c++17, but it's clearly
correct:
art/tools/hiddenapi/hiddenapi.cc:1063:45: error: the loop variable's type is not a reference type; this creates a copy in each iteration; consider making this a reference [performance-for-range-copy,-warnings-as-errors]
Bug: http://b/111067277
Test: builds
Change-Id: I3796d275b142db3de40e7a855a8130ecea6212ae
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions