diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/Semaphore.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Semaphore.hpp b/raul/Semaphore.hpp index 2d541cf..34c98dd 100644 --- a/raul/Semaphore.hpp +++ b/raul/Semaphore.hpp @@ -58,7 +58,7 @@ public: * * Obviously not realtime safe. */ - inline void wait() { while (sem_wait(&_sem) != 0) ; } + inline void wait() { while (sem_wait(&_sem) != 0) {} } /** Non-blocking version of wait(). * |