[*] WaitSingleBase.cpp was rescoping the return value. Doh

This commit is contained in:
Reece Wilson 2022-04-03 00:30:15 +01:00
parent cfca09d0da
commit 450c895732

View File

@ -19,7 +19,7 @@ namespace Aurora::Loop
if (this->Singular())
{
auto handle = this->GetHandle();
auto val = this->WaitForOne(handle);
val = this->WaitForOne(handle);
if (val)
{
val = this->OnTrigger(handle);
@ -28,7 +28,7 @@ namespace Aurora::Loop
else
{
auto handles = this->GetHandles();
auto val = WaitForAtleastOne(handles, one);
val = WaitForAtleastOne(handles, one);
if (val)
{
val = this->OnTrigger(one);