commit | 9c8957dd84679fa2ea32cbfe80d7dbe2f4a490fc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 27 22:24:57 2018 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Nov 28 09:29:51 2018 -0800 |
tree | d1b592788516838a264925026ef672b0c7617095 | |
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