1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-29 15:36:32 -05:00

Merge pull request #4439 from lioncash/cpu

cpu_manager: Remove redundant std::function declarations
This commit is contained in:
David
2020-08-03 20:58:31 +10:00
committed by GitHub

View File

@@ -52,15 +52,15 @@ void CpuManager::Shutdown() {
}
std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() {
return std::function<void(void*)>(GuestThreadFunction);
return GuestThreadFunction;
}
std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() {
return std::function<void(void*)>(IdleThreadFunction);
return IdleThreadFunction;
}
std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() {
return std::function<void(void*)>(SuspendThreadFunction);
return SuspendThreadFunction;
}
void CpuManager::GuestThreadFunction(void* cpu_manager_) {