aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-16 13:28:10 -0400
committerLioncash <mathew1800@gmail.com>2020-07-16 13:30:56 -0400
commit02ff5e8d817b267f4eb9cb0a19fa389cc99b1e0d (patch)
treec9fd8ce00f4ff0fbec3c5767db1dad5d22327085 /src/core/cpu_manager.h
parent59f9dcf6cd4e0f15b48b3ed05ecf91ba9749610a (diff)
cpu_manager: Mark function getters as static
All these do are return std::function instances of static functions, so these can be used without an instance of the CPU manager.
Diffstat (limited to 'src/core/cpu_manager.h')
-rw-r--r--src/core/cpu_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h
index 33fb43cfa2..17420c9418 100644
--- a/src/core/cpu_manager.h
+++ b/src/core/cpu_manager.h
@@ -49,9 +49,9 @@ public:
void Pause(bool paused);
- std::function<void(void*)> GetGuestThreadStartFunc();
- std::function<void(void*)> GetIdleThreadStartFunc();
- std::function<void(void*)> GetSuspendThreadStartFunc();
+ static std::function<void(void*)> GetGuestThreadStartFunc();
+ static std::function<void(void*)> GetIdleThreadStartFunc();
+ static std::function<void(void*)> GetSuspendThreadStartFunc();
void* GetStartFuncParamater();
void PreemptSingleCore(bool from_running_enviroment = true);