From cb9c1030a9d3986f349bb84d12f2b4afdb0260ee Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 11 Jul 2014 10:01:23 +0400 Subject: [PATCH] Warning fix --- Utilities/SMutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/SMutex.h b/Utilities/SMutex.h index 9ca53ce0e9..fb29087c6b 100644 --- a/Utilities/SMutex.h +++ b/Utilities/SMutex.h @@ -123,7 +123,7 @@ public: default: return res; } - if (wait) wait(); + if (wait != nullptr) wait(); if (timeout && counter++ > timeout) {