Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)
- Closes #111
This commit is contained in:
parent
17061cbbb4
commit
d538b86a47
5 changed files with 16 additions and 11 deletions
|
|
@ -29,4 +29,10 @@ namespace Trinity
|
|||
|
||||
#define ASSERT WPAssert
|
||||
|
||||
template <typename T> inline T* ASSERT_NOTNULL(T* pointer)
|
||||
{
|
||||
ASSERT(pointer);
|
||||
return pointer;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue