diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-01-10 01:31:50 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-01-10 01:58:33 +0100 |
commit | edb5bb35000e13e001e2693fbff4e8cc9358e166 (patch) | |
tree | ecfbec4887cb305a893ad8c348474dad9202b0b4 | |
parent | 7fa238c701b5b6d4f78b92334e38fac466ec0eb2 (diff) |
util: remove unused [U](BEGIN|END) macros
-rw-r--r-- | src/util/strencodings.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/strencodings.h b/src/util/strencodings.h index 7d16d7dcfd..e219e7df31 100644 --- a/src/util/strencodings.h +++ b/src/util/strencodings.h @@ -15,10 +15,6 @@ #include <string> #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])) /** Used by SanitizeString() */ |