mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)
- Closes #111
This commit is contained in:
@@ -29,4 +29,10 @@ namespace Trinity
|
||||
|
||||
#define ASSERT WPAssert
|
||||
|
||||
template <typename T> inline T* ASSERT_NOTNULL(T* pointer)
|
||||
{
|
||||
ASSERT(pointer);
|
||||
return pointer;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user