mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use std::map for rgblink symbols and sections
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user