Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44c909d4 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Fix clang-tidy performance warnings in fs_mgr."

parents 56700050 73da05d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -858,7 +858,7 @@ static void update_verity_table_blk_device(char *blk_device, char **table)
    std::string result, word;
    std::string result, word;
    auto tokens = android::base::Split(*table, " ");
    auto tokens = android::base::Split(*table, " ");


    for (const auto token : tokens) {
    for (const auto& token : tokens) {
        if (android::base::StartsWith(token, "/dev/block/") &&
        if (android::base::StartsWith(token, "/dev/block/") &&
            android::base::StartsWith(blk_device, token.c_str())) {
            android::base::StartsWith(blk_device, token.c_str())) {
            word = blk_device;
            word = blk_device;