mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-17 00:06:08 +00:00
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
This commit is contained in:
commit
0ca42c806f
|
@ -52,15 +52,15 @@ void CpuManager::Shutdown() {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() {
|
std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() {
|
||||||
return std::function<void(void*)>(GuestThreadFunction);
|
return GuestThreadFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() {
|
std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() {
|
||||||
return std::function<void(void*)>(IdleThreadFunction);
|
return IdleThreadFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() {
|
std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() {
|
||||||
return std::function<void(void*)>(SuspendThreadFunction);
|
return SuspendThreadFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CpuManager::GuestThreadFunction(void* cpu_manager_) {
|
void CpuManager::GuestThreadFunction(void* cpu_manager_) {
|
||||||
|
|
Loading…
Reference in a new issue