summaryrefslogtreecommitdiff
path: root/src/threading/event.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-07 23:22:00 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-07 23:22:00 +0200
commit4af99b75cf3ae43c365a4c1e90e85f8ec764cf62 (patch)
treeb8366b07b950b3ef7e251457c9b2509175c0faad /src/threading/event.h
parent271d7c31e69db0bb6c5cf2cfb6e97ba129045d3e (diff)
downloadminetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.tar.gz
minetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.tar.bz2
minetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.zip
Pass clang-format on 14 trivial header files fixes
Also remove them from whitelist
Diffstat (limited to 'src/threading/event.h')
-rw-r--r--src/threading/event.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/threading/event.h b/src/threading/event.h
index 26cb8997a..79a99ce1f 100644
--- a/src/threading/event.h
+++ b/src/threading/event.h
@@ -29,19 +29,19 @@ DEALINGS IN THE SOFTWARE.
#include "threads.h"
#if USE_CPP11_MUTEX
- #include <condition_variable>
- #include "threading/mutex.h"
- #include "threading/mutex_auto_lock.h"
+#include <condition_variable>
+#include "threading/mutex.h"
+#include "threading/mutex_auto_lock.h"
#endif
-
/** A syncronization primitive that will wake up one waiting thread when signaled.
* Calling @c signal() multiple times before a waiting thread has had a chance
* to notice the signal will wake only one thread. Additionally, if no threads
* are waiting on the event when it is signaled, the next call to @c wait()
* will return (almost) immediately.
*/
-class Event {
+class Event
+{
public:
Event();
#ifndef USE_CPP11_MUTEX