diff options
| author | 2020-08-03 20:58:31 +1000 | |
|---|---|---|
| committer | 2020-08-03 20:58:31 +1000 | |
| commit | 0ca42c806fac7280a14958f28cc0286beb6bc351 (patch) | |
| tree | bb5bf13d2154a91c5350f146c5fc98eb270620cc /src | |
| parent | Merge pull request #4438 from lioncash/localizing (diff) | |
| parent | cpu_manager: Remove redundant std::function declarations (diff) | |
| download | yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.gz yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.xz yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.zip | |
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/cpu_manager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 32afcf3ae..358943429 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -52,15 +52,15 @@ void CpuManager::Shutdown() { | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() { | 54 | std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() { |
| 55 | return std::function<void(void*)>(GuestThreadFunction); | 55 | return GuestThreadFunction; |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() { | 58 | std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() { |
| 59 | return std::function<void(void*)>(IdleThreadFunction); | 59 | return IdleThreadFunction; |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() { | 62 | std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() { |
| 63 | return std::function<void(void*)>(SuspendThreadFunction); | 63 | return SuspendThreadFunction; |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | void CpuManager::GuestThreadFunction(void* cpu_manager_) { | 66 | void CpuManager::GuestThreadFunction(void* cpu_manager_) { |