summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2020-08-03 12:58:31 +0200
committerGitHub <noreply@github.com>2020-08-03 12:58:31 +0200
commit0ca42c806fac7280a14958f28cc0286beb6bc351 (patch)
treebb5bf13d2154a91c5350f146c5fc98eb270620cc /src/core
parentMerge pull request #4438 from lioncash/localizing (diff)
parentcpu_manager: Remove redundant std::function declarations (diff)
downloadyuzu-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.cpp6
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_) {