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

Commit 12a55363 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Fix build with ToT libc++" into main

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

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;