diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-10-26 11:34:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-26 11:34:29 -0400 |
| commit | fb5064a0607b80b3b7ab28336d80485a71f92e05 (patch) | |
| tree | 09c8e01d2befe7f39725bf1cbcecc07aafbf8784 /mm/2s2h/Rando/Logic/Logic.cpp | |
| parent | e180e4666c06dc0d75d9d4bd247815184b9317cc (diff) | |
Remove boost dependency (#1298)
* Remove boost dependency
* Convert check pools to vectors
* Convert checks and region collections to ordered
Diffstat (limited to 'mm/2s2h/Rando/Logic/Logic.cpp')
| -rw-r--r-- | mm/2s2h/Rando/Logic/Logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/Rando/Logic/Logic.cpp b/mm/2s2h/Rando/Logic/Logic.cpp index 80f10ff03..b76397557 100644 --- a/mm/2s2h/Rando/Logic/Logic.cpp +++ b/mm/2s2h/Rando/Logic/Logic.cpp @@ -7,10 +7,10 @@ namespace Rando { namespace Logic { -std::unordered_map<RandoRegionId, RandoRegion> Regions = {}; +std::map<RandoRegionId, RandoRegion> Regions = {}; RandoRegionId GetRegionIdFromEntrance(s32 entrance) { - static std::unordered_map<s32, RandoRegionId> entranceToRegionId; + static std::map<s32, RandoRegionId> entranceToRegionId; if (entranceToRegionId.empty()) { for (auto& [randoRegionId, randoRegion] : Regions) { for (auto& [_, regionExit] : randoRegion.exits) { |
