From e09cc96af563b375d45a545eb1d7afe459042271 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Oct 2009 00:06:11 +0000 Subject: Use {} for empty while body. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2204 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Semaphore.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul') 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(). * -- cgit v1.2.1