Cleanup: Remove old FiosList helper methods. (#9139)

This commit is contained in:
PeterN
2021-04-29 22:46:42 +01:00
committed by GitHub
parent 9a8756d7ed
commit f018471b36
5 changed files with 30 additions and 117 deletions

View File

@@ -209,7 +209,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);