commit | 12a553637f5e0a1d613675963c31c4229a582069 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Jun 03 06:30:01 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jun 03 06:30:01 2024 +0000 |
tree | a4ed79074c9e89d0f9b2077206a8551beff5ba43 | |
parent | e19c5e32e3aae5688fe040c981402b370584d679 [diff] | |
parent | 4e2f0effd571607b34a85366e10e7e19e4a8bf88 [diff] |
Merge "Fix build with ToT libc++" into main
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;