Merge \\\"Fix clang-tidy performance warnings in fs_mgr.\\\" am: 44c909d467 am: be25035ddb
am: aa0628ec50
Change-Id: I28c0f3cf75c1e225b3d24b77934d055dd9edf854
This commit is contained in:
commit
3afa5a9afa
1 changed files with 1 additions and 1 deletions
|
|
@ -869,7 +869,7 @@ static void update_verity_table_blk_device(char *blk_device, char **table)
|
|||
std::string result, word;
|
||||
auto tokens = android::base::Split(*table, " ");
|
||||
|
||||
for (const auto token : tokens) {
|
||||
for (const auto& token : tokens) {
|
||||
if (android::base::StartsWith(token, "/dev/block/") &&
|
||||
android::base::StartsWith(blk_device, token.c_str())) {
|
||||
word = blk_device;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue