diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /core/os/mutex.cpp | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
Diffstat (limited to 'core/os/mutex.cpp')
| -rw-r--r-- | core/os/mutex.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/core/os/mutex.cpp b/core/os/mutex.cpp index acdcb492d..cdc18effd 100644 --- a/core/os/mutex.cpp +++ b/core/os/mutex.cpp @@ -30,24 +30,19 @@ #include "error_macros.h" #include <stddef.h> - - -Mutex* (*Mutex::create_func)(bool)=0; +Mutex *(*Mutex::create_func)(bool) = 0; Mutex *Mutex::create(bool p_recursive) { - ERR_FAIL_COND_V( !create_func, 0 ); + ERR_FAIL_COND_V(!create_func, 0); return create_func(p_recursive); } - Mutex::~Mutex() { - - } -Mutex *_global_mutex=NULL; +Mutex *_global_mutex = NULL; void _global_lock() { @@ -59,4 +54,3 @@ void _global_unlock() { if (_global_mutex) _global_mutex->unlock(); } - |
