mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-23 07:14:31 +00:00
Don't hard-code std::string as the key type for InsertionOrderedMap
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "link/main.hpp"
|
||||
#include "link/warning.hpp"
|
||||
|
||||
static InsertionOrderedMap<std::unique_ptr<Section>> sections;
|
||||
static InsertionOrderedMap<std::string, std::unique_ptr<Section>> sections;
|
||||
|
||||
void sect_ForEach(void (*callback)(Section &)) {
|
||||
for (std::unique_ptr<Section> &ptr : sections) {
|
||||
|
||||
Reference in New Issue
Block a user