mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 18:47:38 +00:00
Use std::map instead
This commit is contained in:
parent
acf166cf9d
commit
8079d456ab
@ -1,5 +1,5 @@
|
|||||||
#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:
|
|||||||
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user