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

Commit 3cb24e3d authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "Fix build with ToT libc++" into main am: 12a55363 am: 4b36d6e9

parents eda3882a 4b36d6e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ bool ParseFile(std::istream& input_stream, Func parse) {
}
}


template<typename Func>
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);
  std::ifstream ifs(str_file);
  if (!ifs.is_open()) {
  if (!ifs.is_open()) {
    return false;
    return false;