Commit 8079d456 authored by LoveSy's avatar LoveSy Committed by John Wu

Use std::map instead

parent acf166cf
#include <sys/mount.h> #include <sys/mount.h>
#include <unordered_map> #include <map>
#include <magisk.hpp> #include <magisk.hpp>
#include <utils.hpp> #include <utils.hpp>
...@@ -125,7 +125,7 @@ exit_loop: ...@@ -125,7 +125,7 @@ exit_loop:
if (access("oplus.fstab", F_OK) == 0) { if (access("oplus.fstab", F_OK) == 0) {
LOGD("Found fstab file: %s\n", "oplus.fstab"); LOGD("Found fstab file: %s\n", "oplus.fstab");
vector<fstab_entry> oplus_fstab; vector<fstab_entry> oplus_fstab;
unordered_map<string, string> bind_map; map<string, string> bind_map;
read_fstab_file("oplus.fstab", oplus_fstab); read_fstab_file("oplus.fstab", oplus_fstab);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment