mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 02:49:15 +00:00
refactor(kernel): remove 'foreach' macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -295,7 +295,7 @@ namespace Tasking
|
||||
}
|
||||
|
||||
/* Exit all children processes */
|
||||
foreach (auto pcb in this->Children)
|
||||
for (auto pcb : this->Children)
|
||||
{
|
||||
if (pcb == nullptr)
|
||||
{
|
||||
@ -309,7 +309,7 @@ namespace Tasking
|
||||
}
|
||||
|
||||
/* Exit all threads */
|
||||
foreach (auto tcb in this->Threads)
|
||||
for (auto tcb : this->Threads)
|
||||
{
|
||||
if (tcb == nullptr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user