mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-02 19:26:41 +00:00
Non-x86 build fix.
This commit is contained in:
parent
283e8d5bc0
commit
02ed84774c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user