From bf398be94ea2cd6f13c1df1d287496e6a69b0bce Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sun, 3 Mar 2024 22:09:19 +0000 Subject: [PATCH] [*] Missing explicit AuConstReference --- Source/IO/AuIOProcessor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/IO/AuIOProcessor.cpp b/Source/IO/AuIOProcessor.cpp index d3811953..82bb02ae 100644 --- a/Source/IO/AuIOProcessor.cpp +++ b/Source/IO/AuIOProcessor.cpp @@ -748,7 +748,7 @@ namespace Aurora::IO if (pItem->IsRunOnTick()) { - if (!AuTryInsert(this->items.onTickReceivers, item)) + if (!AuTryInsert(this->items.onTickReceivers, AuConstReference(item))) { SysPushErrorMem(); return {}; @@ -757,7 +757,7 @@ namespace Aurora::IO if (pItem->IsRunOnOtherTick()) { - if (!AuTryInsert(this->items.onOtherReceivers, item)) + if (!AuTryInsert(this->items.onOtherReceivers, AuConstReference(item))) { SysPushErrorMem(); return {}; @@ -803,7 +803,7 @@ namespace Aurora::IO SysPushErrorIO("midframe recommit"); } - if (!AuTryInsert(this->items.registeredIO, item)) + if (!AuTryInsert(this->items.registeredIO, AuConstReference(item))) { SysPushErrorMem(); SysAssert(this->ToQueue()->SourceRemove(src));