diff --git a/src/NZSL/Ast/SanitizeVisitor.cpp b/src/NZSL/Ast/SanitizeVisitor.cpp index c0a8fcd..d9ac3e3 100644 --- a/src/NZSL/Ast/SanitizeVisitor.cpp +++ b/src/NZSL/Ast/SanitizeVisitor.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -2483,7 +2484,7 @@ NAZARA_WARNING_POP() if (node.identifiers.empty()) throw AstEmptyImportError{ node.sourceLocation }; - std::unordered_map> importedSymbols; + tsl::ordered_map> importedSymbols; bool importEverythingElse = false; for (const auto& entry : node.identifiers) { @@ -2507,7 +2508,7 @@ NAZARA_WARNING_POP() if (it == importedSymbols.end()) it = importedSymbols.emplace(entry.identifier, std::vector{}).first; - std::vector& symbols = it->second; + std::vector& symbols = it.value(); // Non-renamed symbols can be present only once if (entry.renamedIdentifier.empty())