This commit is contained in:
1 file changed
+3
@@ -18,3 +18,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define AssertNotNull(value) Assert(value != nullptr)
|
#define AssertNotNull(value) Assert(value != nullptr)
|
||||||
|
#define UnpackWeakPtr(weakPtr, sharedPtr) \
|
||||||
|
Assert(!weakPtr.expired()); \
|
||||||
|
auto sharedPtr = weakPtr.lock();
|
||||||
Reference in new issue
Block a user