Cleanup: Remove old FiosList helper methods. (#9139)
(cherry-picked from commit f018471b36
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
050b95e351
commit
9d72eb02f5
@@ -215,7 +215,7 @@ void FiosGetDrives(FileList &file_list)
|
||||
|
||||
GetLogicalDriveStrings(lengthof(drives), drives);
|
||||
for (s = drives; *s != '\0';) {
|
||||
FiosItem *fios = file_list.Append();
|
||||
FiosItem *fios = &file_list.emplace_back();
|
||||
fios->type = FIOS_TYPE_DRIVE;
|
||||
fios->mtime = 0;
|
||||
seprintf(fios->name, lastof(fios->name), "%c:", s[0] & 0xFF);
|
||||
|
Reference in New Issue
Block a user