Code cleanup.

This commit is contained in:
2023-02-05 15:59:20 +08:00
parent ab6f983392
commit 300e44bd4b

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Cryville.Common.Font {
@@ -121,7 +120,7 @@ namespace Cryville.Common.Font {
for (int i = 0; i < langTagRecord.Count; i++) langTagRecord[i] = langTagRecord[i].Load(reader, origin);
}
public sealed override IReadOnlyList<NameRecord> GetItems() {
return nameRecord.Cast<NameRecord>().ToList();
return nameRecord;
}
}
public struct NameRecord {