summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-06 00:35:49 -0400
committerGravatar bunnei2014-06-13 09:51:13 -0400
commitc95972275e276abe3afcac79d956ea29a0879c8e (patch)
treef902b895aa25142f94001674baedfdac9794d548 /src/core/hle/kernel/mutex.cpp
parentKernel: Updated various kernel function "name" arguments to be const references. (diff)
downloadyuzu-c95972275e276abe3afcac79d956ea29a0879c8e.tar.gz
yuzu-c95972275e276abe3afcac79d956ea29a0879c8e.tar.xz
yuzu-c95972275e276abe3afcac79d956ea29a0879c8e.zip
HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index a76c8de03..1ccf1eb73 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -122,7 +122,7 @@ bool ReleaseMutex(Mutex* mutex) {
122Result ReleaseMutex(Handle handle) { 122Result ReleaseMutex(Handle handle) {
123 Mutex* mutex = Kernel::g_object_pool.GetFast<Mutex>(handle); 123 Mutex* mutex = Kernel::g_object_pool.GetFast<Mutex>(handle);
124 124
125 _assert_msg_(KERNEL, (mutex != NULL), "ReleaseMutex tried to release a NULL mutex!"); 125 _assert_msg_(KERNEL, (mutex != nullptr), "ReleaseMutex tried to release a nullptr mutex!");
126 126
127 if (!ReleaseMutex(mutex)) { 127 if (!ReleaseMutex(mutex)) {
128 return -1; 128 return -1;