Browse Source

define PAIR_TYPE as std::pair

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
9aef9bca3d
  1. 2
      core/include/util.h

2
core/include/util.h

@ -65,7 +65,7 @@ typedef unsigned long long uint64; @@ -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

Loading…
Cancel
Save