[*] Not deprecated enough
This commit is contained in:
parent
6181d97c3c
commit
d661363247
@ -53,6 +53,6 @@ namespace Aurora::Threading
|
||||
/// @deprecated
|
||||
static inline bool WaitFor(IWaitable *pWaitable, AuUInt64 uTimeoutMS)
|
||||
{
|
||||
return WaitForAbsNS(pWaitable, AuMSToNS<AuUInt64>(uTimeoutMS) + Time::SteadyClockNS());
|
||||
return WaitForAbsNS(pWaitable, uTimeoutMS ? AuMSToNS<AuUInt64>(uTimeoutMS) + Time::SteadyClockNS() : 0);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user