From f0125b2be8ba34aaf07b8c9d04b866d29ceea53a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 16 Jul 2020 13:28:10 -0400 Subject: 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. --- src/core/cpu_manager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/cpu_manager.h') diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h index 33fb43cfa..17420c941 100644 --- a/src/core/cpu_manager.h +++ b/src/core/cpu_manager.h @@ -49,9 +49,9 @@ public: void Pause(bool paused); - std::function GetGuestThreadStartFunc(); - std::function GetIdleThreadStartFunc(); - std::function GetSuspendThreadStartFunc(); + static std::function GetGuestThreadStartFunc(); + static std::function GetIdleThreadStartFunc(); + static std::function GetSuspendThreadStartFunc(); void* GetStartFuncParamater(); void PreemptSingleCore(bool from_running_enviroment = true); -- cgit v1.2.3