aboutsummaryrefslogtreecommitdiff
path: root/src/utilstrencodings.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2017-06-01 22:22:33 +0200
committerJorge Timón <jtimon@jtimon.cc>2017-06-05 20:02:30 +0200
commita5410ac5ece4ef4d52eab07201c5f6c6c4501921 (patch)
tree996900e1990d9c06ef3312c90713bdd30b481faa /src/utilstrencodings.h
parent9fec4da0bec93a49798b5f5e92cf76e900759ee4 (diff)
downloadbitcoin-a5410ac5ece4ef4d52eab07201c5f6c6c4501921.tar.xz
Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> removal
Diffstat (limited to 'src/utilstrencodings.h')
-rw-r--r--src/utilstrencodings.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utilstrencodings.h b/src/utilstrencodings.h
index e2a1b9bef9..8846cb47ee 100644
--- a/src/utilstrencodings.h
+++ b/src/utilstrencodings.h
@@ -18,8 +18,6 @@
#define UBEGIN(a) ((unsigned char*)&(a))
#define UEND(a) ((unsigned char*)&((&(a))[1]))
#define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
-
-/** This is needed because the foreach macro can't get over the comma in pair<t1, t2> */
#define PAIRTYPE(t1, t2) std::pair<t1, t2>
/** Used by SanitizeString() */