chore: Use ref to const for openProcessForKill arg in Windows watchdog

This commit is contained in:
Nick Bolton 2025-03-03 12:01:15 +00:00
parent 40fefb9369
commit b0547f6713

View file

@ -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)