diff options
Diffstat (limited to 'core/os/semaphore.cpp')
-rw-r--r-- | core/os/semaphore.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/os/semaphore.cpp b/core/os/semaphore.cpp index fe476c5888..6bbae72f63 100644 --- a/core/os/semaphore.cpp +++ b/core/os/semaphore.cpp @@ -29,16 +29,14 @@ #include "semaphore.h" #include "error_macros.h" -Semaphore* (*Semaphore::create_func)()=0; +Semaphore *(*Semaphore::create_func)() = 0; Semaphore *Semaphore::create() { - ERR_FAIL_COND_V( !create_func, 0 ); + ERR_FAIL_COND_V(!create_func, 0); return create_func(); } - Semaphore::~Semaphore() { - } |