diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-08-03 12:58:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 12:58:31 +0200 |
commit | 0ca42c806fac7280a14958f28cc0286beb6bc351 (patch) | |
tree | bb5bf13d2154a91c5350f146c5fc98eb270620cc /src/core | |
parent | Merge pull request #4438 from lioncash/localizing (diff) | |
parent | cpu_manager: Remove redundant std::function declarations (diff) | |
download | yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.gz yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.bz2 yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.lz yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.xz yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.tar.zst yuzu-0ca42c806fac7280a14958f28cc0286beb6bc351.zip |
Diffstat (limited to 'src/core')
-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() { } 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_) { |