diff options
| author | David <25727384+ogniK5377@users.noreply.github.com> | 2020-08-03 20:58:31 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 20:58:31 +1000 |
| commit | 6b05ff83bbed129d9be380b61003a59bbdeb4de3 (patch) | |
| tree | bb5bf13d2154a91c5350f146c5fc98eb270620cc /src/core/cpu_manager.cpp | |
| parent | 1e44d65d1e83e77dc8211e5bdd3df97bb4a60b27 (diff) | |
| parent | 3c31a08802c609e5479190b5d9e13d3a54488a56 (diff) | |
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
Diffstat (limited to 'src/core/cpu_manager.cpp')
| -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 32afcf3ae9..358943429f 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_) { |
