Non-x86 build fix.

This commit is contained in:
Adam Ierymenko 2017-08-31 20:47:44 -04:00
parent 283e8d5bc0
commit 02ed84774c

View File

@ -114,12 +114,12 @@ public:
inline void lock() const inline void lock() const
{ {
(const_cast <Mutex *> (this))->lock(); pthread_mutex_lock(&((const_cast <Mutex *> (this))->_mh));
} }
inline void unlock() const inline void unlock() const
{ {
(const_cast <Mutex *> (this))->unlock(); pthread_mutex_unlock(&((const_cast <Mutex *> (this))->_mh));
} }
class Lock : NonCopyable class Lock : NonCopyable