Remove lv2_event_queue::check(weak_ptr)

This commit is contained in:
Eladash 2021-05-14 20:10:47 +03:00 committed by Ivan
parent c681395fb2
commit 8bd58b1ad4
8 changed files with 33 additions and 39 deletions

View file

@ -1575,7 +1575,7 @@ error_code AudioSetNotifyEventQueue(u64 key, u32 iFlags)
return CELL_AUDIO_ERROR_TRANS_EVENT;
}
if (!lv2_event_queue::check(i->port))
if (!lv2_obj::check(i->port))
{
// Cleanup, avoid cases where there are multiple ports with the same key
i = g_audio.keys.erase(i);
@ -1625,7 +1625,7 @@ error_code AudioRemoveNotifyEventQueue(u64 key, u32 iFlags)
for (auto i = g_audio.keys.cbegin(); i != g_audio.keys.cend(); i++)
{
if (lv2_event_queue::check(i->port) && i->port->key == key)
if (lv2_obj::check(i->port) && i->port->key == key)
{
if (i->flags != iFlags)
{