mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 10:41:47 +00:00
Rename Array to Vector
Finally get rid of the C style vector, rename the template class to its proper name
This commit is contained in:
@@ -388,7 +388,7 @@ void write_zero(int fd, size_t size) {
|
||||
lseek(fd, pos + size, SEEK_SET);
|
||||
}
|
||||
|
||||
int file_to_array(const char *filename, Array<CharArray> &arr) {
|
||||
int file_to_vector(const char *filename, Vector<CharArray> &arr) {
|
||||
if (access(filename, R_OK) != 0)
|
||||
return 1;
|
||||
char *line = nullptr;
|
||||
|
Reference in New Issue
Block a user