summaryrefslogtreecommitdiff
path: root/src/debug/fast_mutex.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-06 22:22:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-06 22:22:23 +0300
commit5d80bf4f75f838867d3186de315225ec8265eae2 (patch)
tree6647243e0be8c0f3632b3b43b487bd81e8f27afa /src/debug/fast_mutex.h
parentc3d07bbf19a83f74748d0df628c6d4be9d7f7a20 (diff)
downloadmanaverse-5d80bf4f75f838867d3186de315225ec8265eae2.tar.gz
manaverse-5d80bf4f75f838867d3186de315225ec8265eae2.tar.bz2
manaverse-5d80bf4f75f838867d3186de315225ec8265eae2.tar.xz
manaverse-5d80bf4f75f838867d3186de315225ec8265eae2.zip
Fix different issues in debug_new.cpp
Diffstat (limited to 'src/debug/fast_mutex.h')
-rw-r--r--src/debug/fast_mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/fast_mutex.h b/src/debug/fast_mutex.h
index bd9fc37d3..39b5fcdc2 100644
--- a/src/debug/fast_mutex.h
+++ b/src/debug/fast_mutex.h
@@ -237,7 +237,7 @@ NVWA_NAMESPACE_BEGIN
: _M_locked(false)
# endif
{
- ::pthread_mutex_init(&_M_mtx_impl, NULL);
+ ::pthread_mutex_init(&_M_mtx_impl, _NULLPTR);
# if _FAST_MUTEX_CHECK_INITIALIZATION
_M_initialized = true;
# endif