Commit 9c8957dd authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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
parent 23b729e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment