From dd7d232ac3e7257a22aaada5b52408911e050ec1 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 15 Jul 2024 01:28:08 +0300 Subject: [PATCH] event_queues: Use std placeholders --- src/core/libraries/kernel/event_queues.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/libraries/kernel/event_queues.cpp b/src/core/libraries/kernel/event_queues.cpp index 12f59e50..e42cc60d 100644 --- a/src/core/libraries/kernel/event_queues.cpp +++ b/src/core/libraries/kernel/event_queues.cpp @@ -7,8 +7,6 @@ #include "core/libraries/error_codes.h" #include "core/libraries/kernel/event_queues.h" -#include - namespace Libraries::Kernel { extern boost::asio::io_context io_context; @@ -137,7 +135,7 @@ s32 PS4_SYSV_ABI sceKernelAddHRTimerEvent(SceKernelEqueue eq, int id, timespec* io_context, std::chrono::microseconds(total_us - HrTimerSpinlockThresholdUs)); event.timer->async_wait( - std::bind(SmallTimerCallback, boost::asio::placeholders::error, eq, event.event)); + std::bind(SmallTimerCallback, std::placeholders::_1, eq, event.event)); if (!eq->AddEvent(event)) { return ORBIS_KERNEL_ERROR_ENOMEM;