fix(kernel/std): 🐛 correct bucket assignment inside [] operator in std::unordered_map

This commit is contained in:
EnderIce2 2025-05-18 19:39:20 +00:00
parent d20d4f7bf9
commit 4929b76c7c
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -908,6 +908,7 @@ namespace std
index = hashFunction(key) % buckets.size();
}
bucket = buckets[index];
return bucket.back().second;
}
@ -934,6 +935,7 @@ namespace std
index = hashFunction(key) % buckets.size();
}
bucket = buckets[index];
return bucket.back().second;
}