diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp index f9938d016..1461bea3f 100644 --- a/src/core/hle/kernel/event.cpp +++ b/src/core/hle/kernel/event.cpp @@ -39,7 +39,7 @@ public: *wait = locked; if (locked) { Handle thread = GetCurrentThreadHandle(); - if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) { + if (find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) { waiting_threads.push_back(thread); } Kernel::WaitCurrentThread(WAITTYPE_EVENT);