util: remove unused [U](BEGIN|END) macros

This commit is contained in:
Wladimir J. van der Laan 2019-01-10 01:31:50 +01:00
parent 7fa238c701
commit edb5bb3500

View file

@ -15,10 +15,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#define BEGIN(a) ((char*)&(a))
#define END(a) ((char*)&((&(a))[1]))
#define UBEGIN(a) ((unsigned char*)&(a))
#define UEND(a) ((unsigned char*)&((&(a))[1]))
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0])) #define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
/** Used by SanitizeString() */ /** Used by SanitizeString() */