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

@ -112,7 +112,7 @@ namespace Execute
CriticalSection cs;
Process = Parent;
foreach (auto tcb in Process->Threads)
for (auto tcb : Process->Threads)
{
debug("Deleting thread %d", tcb->ID);
// delete tcb;
@ -153,7 +153,7 @@ namespace Execute
if (unlikely(SearchNode == nullptr))
return false;
foreach (const auto &ffd in pfdt->FileMap)
for (const auto &ffd : pfdt->FileMap)
{
if (ffd.second.Flags & O_CLOEXEC)
continue;