Browse Source
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
pull/15/merge
David
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/core/cpu_manager.cpp
|
|
|
@ -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_) { |
|
|
|
|