diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index f4340e60f..5e979d3d2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "common/common.h" #include "common/thread_queue_list.h" @@ -44,7 +45,7 @@ public: Result WaitSynchronization(bool* wait) { if (status != THREADSTATUS_DORMANT) { 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); } WaitCurrentThread(WAITTYPE_THREADEND, this->GetHandle()); diff --git a/src/video_core/gpu_debugger.h b/src/video_core/gpu_debugger.h index 13edb9a47..b177ecd52 100644 --- a/src/video_core/gpu_debugger.h +++ b/src/video_core/gpu_debugger.h @@ -108,7 +108,7 @@ public: } auto obj = std::pair(address, cmdlist); - auto it = std::find(command_lists.begin(), command_lists.end(), obj); + auto it = find(command_lists.begin(), command_lists.end(), obj); bool is_new = (it == command_lists.end()); if (is_new) command_lists.push_back(obj);