commit | 4b36d6e96d5f9f9dcf432497d382e6930e800b03 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Jun 03 06:33:16 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jun 03 06:33:16 2024 +0000 |
tree | 6c880f966c85572bfda32a3ff67bf53e77900b36 | |
parent | d87e720c0f796aa28ed45022b879bd84a7932e77 [diff] | |
parent | 12a553637f5e0a1d613675963c31c4229a582069 [diff] |
Merge "Fix build with ToT libc++" into main am: 12a553637f Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3110622 Change-Id: I0d546ea5b04e1766706a1ac91549c64644d05705 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/cmds/installd/file_parsing.h b/cmds/installd/file_parsing.h index 88801ca..0ec5abb 100644 --- a/cmds/installd/file_parsing.h +++ b/cmds/installd/file_parsing.h
@@ -51,7 +51,7 @@ } template<typename Func> -bool ParseFile(std::string_view str_file, Func parse) { +bool ParseFile(const std::string& str_file, Func parse) { std::ifstream ifs(str_file); if (!ifs.is_open()) { return false;