Use std::map for rgblink symbols and sections

This commit is contained in:
Rangi42 authored and Sylvie committed 2024-02-29 13:44:08 -05:00
1 parent d5de3fa111
commit f44701c02d
7 files changed
+30 -49

No files matched your search

+2 -2
View File
@@ -661,7 +661,7 @@ static void freeNode(struct FileStackNode *node)
}
}
static void freeSection(struct Section *section, void *)
static void freeSection(struct Section *section)
{
do {
struct Section *next = section->nextu;
@@ -698,7 +698,7 @@ void obj_Cleanup(void)
sym_CleanupSymbols();
sect_ForEach(freeSection, NULL);
sect_ForEach(freeSection);
sect_CleanupSections();
for (struct SymbolList &list : symbolLists) {