diff options
Diffstat (limited to 'core/os/thread_dummy.cpp')
-rw-r--r-- | core/os/thread_dummy.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/core/os/thread_dummy.cpp b/core/os/thread_dummy.cpp index 93a020b7a8..a17f7f09a8 100644 --- a/core/os/thread_dummy.cpp +++ b/core/os/thread_dummy.cpp @@ -30,7 +30,7 @@ #include "memory.h" -Thread* ThreadDummy::create(ThreadCreateCallback p_callback,void * p_user,const Thread::Settings& p_settings) { +Thread *ThreadDummy::create(ThreadCreateCallback p_callback, void *p_user, const Thread::Settings &p_settings) { return memnew(ThreadDummy); }; @@ -38,7 +38,7 @@ void ThreadDummy::make_default() { Thread::create_func = &ThreadDummy::create; }; -Mutex* MutexDummy::create(bool p_recursive) { +Mutex *MutexDummy::create(bool p_recursive) { return memnew(MutexDummy); }; @@ -46,14 +46,10 @@ void MutexDummy::make_default() { Mutex::create_func = &MutexDummy::create; }; - -Semaphore* SemaphoreDummy::create() { +Semaphore *SemaphoreDummy::create() { return memnew(SemaphoreDummy); }; void SemaphoreDummy::make_default() { Semaphore::create_func = &SemaphoreDummy::create; }; - - - |