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

Commit 75d17366 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix clang-tidy performance warnings in system/core." am: 146fd24c am: 8ec85ebd

am: 6b18f29b

Change-Id: I4d565ef1ff31cf5926f65d55e29f638309487db8
parents be1a480f 6b18f29b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ Result<Success> ModaliasHandler::ParseDepCallback(std::vector<std::string>&& arg
    }

    // Key is striped module name to match names in alias file
    std::size_t start = args[0].find_last_of("/");
    std::size_t start = args[0].find_last_of('/');
    std::size_t end = args[0].find(".ko:");
    if ((end - start) <= 1) return Error() << "malformed dependency line";
    auto mod_name = args[0].substr(start + 1, (end - start) - 1);