git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f96681c
)
define PAIR_TYPE as std::pair
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Wed, 1 Jun 2011 15:13:25 +0000 (17:13 +0200)
committer
Wladimir J. van der Laan
<laanwj@gmail.com>
Wed, 1 Jun 2011 15:15:43 +0000 (17:15 +0200)
core/include/util.h
patch
|
blob
|
history
diff --git
a/core/include/util.h
b/core/include/util.h
index
b1eabd5
..
eccdbd3
100644
(file)
--- a/
core/include/util.h
+++ b/
core/include/util.h
@@
-65,7
+65,7
@@
typedef unsigned long long uint64;
#endif
// This is needed because the foreach macro can't get over the comma in pair<t1, t2>
-#define PAIRTYPE(t1, t2) pair<t1, t2>
+#define PAIRTYPE(t1, t2) std::pair<t1, t2>
// Used to bypass the rule against non-const reference to temporary
// where it makes sense with wrappers such as CFlatData or CTxDB