From 02ed84774c2b9eb23995d722349476a1e5a6870f Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 31 Aug 2017 20:47:44 -0400 Subject: Non-x86 build fix. --- node/Mutex.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/Mutex.hpp b/node/Mutex.hpp index b16f53f7..b68e5d93 100644 --- a/node/Mutex.hpp +++ b/node/Mutex.hpp @@ -114,12 +114,12 @@ public: inline void lock() const { - (const_cast (this))->lock(); + pthread_mutex_lock(&((const_cast (this))->_mh)); } inline void unlock() const { - (const_cast (this))->unlock(); + pthread_mutex_unlock(&((const_cast (this))->_mh)); } class Lock : NonCopyable -- cgit v1.2.3