Use std::map instead

This commit is contained in:
LoveSy 2021-08-29 17:51:42 +08:00 committed by John Wu
parent acf166cf9d
commit 8079d456ab

View File

@ -1,5 +1,5 @@
#include <sys/mount.h>
#include <unordered_map>
#include <map>
#include <magisk.hpp>
#include <utils.hpp>
@ -125,7 +125,7 @@ exit_loop:
if (access("oplus.fstab", F_OK) == 0) {
LOGD("Found fstab file: %s\n", "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);