mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 18:32:18 +00:00
Converted a lot of the char[] stuff internally into std:string
in addition I switched over to <string> rather than <string.h>
This commit is contained in:
1 parent
f6100ed834
commit
c6ca89907c
2 files changed
+47
-36
No files matched your search
+2
-2
@@ -80,8 +80,8 @@ typedef const char Const_char; //for perl XS
|
||||
#define THREAD_RETURN(x) return(x);
|
||||
#endif
|
||||
|
||||
#define safe_delete(d) if(d) { delete d; d=0; }
|
||||
#define safe_delete_array(d) if(d) { delete[] d; d=0; }
|
||||
#define safe_delete(d) if(d) { delete d; d=nullptr; }
|
||||
#define safe_delete_array(d) if(d) { delete[] d; d=nullptr; }
|
||||
#define L32(i) ((uint32) i)
|
||||
#define H32(i) ((uint32) (i >> 32))
|
||||
#define L16(i) ((uint16) i)
|
||||
|
||||
Reference in new issue
Block a user