Don't hard-code std::string as the key type for InsertionOrderedMap

This commit is contained in:
Rangi
2026-05-25 14:21:18 -04:00
parent a0d96a0856
commit ed19806434
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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) {