summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-29 00:06:11 +0000
committerDavid Robillard <d@drobilla.net>2009-10-29 00:06:11 +0000
commite09cc96af563b375d45a545eb1d7afe459042271 (patch)
treec062390a9bdadcbcb50c7d6b00185bbfee9f2b1e /raul
parent4cc9560e176033a0246f3fd014baaf27d0a0f8bf (diff)
downloadraul-e09cc96af563b375d45a545eb1d7afe459042271.tar.gz
raul-e09cc96af563b375d45a545eb1d7afe459042271.tar.bz2
raul-e09cc96af563b375d45a545eb1d7afe459042271.zip
Use {} for empty while body.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2204 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul')
-rw-r--r--raul/Semaphore.hpp2
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().
*