Skip to content

Commit edb5bb3

Browse files
committed
util: remove unused [U](BEGIN|END) macros
1 parent 7fa238c commit edb5bb3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/util/strencodings.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
#include <string>
1616
#include <vector>
1717

18-
#define BEGIN(a) ((char*)&(a))
19-
#define END(a) ((char*)&((&(a))[1]))
20-
#define UBEGIN(a) ((unsigned char*)&(a))
21-
#define UEND(a) ((unsigned char*)&((&(a))[1]))
2218
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
2319

2420
/** Used by SanitizeString() */

0 commit comments

Comments
 (0)