diff options
-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 4c6fd0b..4be79f0 100644 --- a/raul/Semaphore.hpp +++ b/raul/Semaphore.hpp @@ -94,7 +94,7 @@ private: inline bool Semaphore::init(unsigned initial) { - if (semaphore_create(mach_task_self(), &sem->sem, SYNC_POLICY_FIFO, 0)) { + if (semaphore_create(mach_task_self(), &_sem, SYNC_POLICY_FIFO, 0)) { return false; } return true; |