Browse Source

define PAIR_TYPE as std::pair

miguelfreitas
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;
#endif #endif
// This is needed because the foreach macro can't get over the comma in pair<t1, t2> // 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 // Used to bypass the rule against non-const reference to temporary
// where it makes sense with wrappers such as CFlatData or CTxDB // where it makes sense with wrappers such as CFlatData or CTxDB

Loading…
Cancel
Save