refactor(kernel): remove 'foreach' macro

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-29 22:43:07 +00:00
parent 93d897e95c
commit 8d71ed0ad5
42 changed files with 112 additions and 119 deletions

View File

@ -477,7 +477,7 @@ namespace std
void clear() noexcept
{
foreach (auto &bucket in buckets)
for (auto &bucket : buckets)
bucket.clear();
elementsCount = 0;
}
@ -589,7 +589,7 @@ namespace std
void insert(std::initializer_list<value_type> ilist)
{
foreach (const auto &value in ilist)
for (const auto &value : ilist)
insert(value);
}