From 7981676f534ffe87412dfa11ea0a41db5afde25d Mon Sep 17 00:00:00 2001 From: Martin Natano Date: Sun, 19 Feb 2023 19:01:29 +0100 Subject: [PATCH] Fix HiddenPtr::isNull() --- src/RageUtil_AutoPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RageUtil_AutoPtr.h b/src/RageUtil_AutoPtr.h index 6cfb301007..61fd723828 100644 --- a/src/RageUtil_AutoPtr.h +++ b/src/RageUtil_AutoPtr.h @@ -176,7 +176,7 @@ public: } #endif - bool isNull() const { return m_pPtr != nullptr; } + bool isNull() const { return m_pPtr == nullptr; } private: T *m_pPtr;