win32/WinEvent: add default value to Wait()

This commit is contained in:
Max Kellermann
2021-03-05 16:04:56 +01:00
parent 2011a6e2ee
commit 637cf8a039
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ public:
HANDLE handle() noexcept { return event; }
DWORD Wait(DWORD milliseconds) noexcept {
DWORD Wait(DWORD milliseconds=INFINITE) noexcept {
return WaitForSingleObject(event, milliseconds);
}