[*] Missing explicit AuConstReference
This commit is contained in:
parent
13b61f166c
commit
bf398be94e
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user