chore: Use ref to const for openProcessForKill arg in Windows watchdog
This commit is contained in:
parent
40fefb9369
commit
b0547f6713
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ void MSWindowsWatchdog::outputLoop(void *)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HANDLE openProcessForKill(PROCESSENTRY32 entry)
|
HANDLE openProcessForKill(const PROCESSENTRY32 &entry)
|
||||||
{
|
{
|
||||||
// pid 0 is 'system idle process'
|
// pid 0 is 'system idle process'
|
||||||
if (entry.th32ProcessID == 0)
|
if (entry.th32ProcessID == 0)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue