mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
refactor(kernel): remove 'foreach' macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user