Fixes for open-source build following upstream bug fix
parent
c790956d18
commit
f85129d4d7
|
@ -245,14 +245,17 @@ TEST(Btree, Comparison) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(Btree, RangeCtorSanity) {
|
TEST(Btree, RangeCtorSanity) {
|
||||||
typedef btree_set<int, less<int>, allocator<int>, 256> test_set;
|
typedef btree_set<int, std::less<int>, std::allocator<int>, 256> test_set;
|
||||||
typedef btree_map<int, int, less<int>, allocator<int>, 256> test_map;
|
typedef btree_map<int, int, std::less<int>, std::allocator<int>, 256>
|
||||||
typedef btree_multiset<int, less<int>, allocator<int>, 256> test_mset;
|
test_map;
|
||||||
typedef btree_multimap<int, int, less<int>, allocator<int>, 256> test_mmap;
|
typedef btree_multiset<int, std::less<int>, std::allocator<int>, 256>
|
||||||
vector<int> ivec;
|
test_mset;
|
||||||
|
typedef btree_multimap<int, int, std::less<int>, std::allocator<int>, 256>
|
||||||
|
test_mmap;
|
||||||
|
std::vector<int> ivec;
|
||||||
ivec.push_back(1);
|
ivec.push_back(1);
|
||||||
map<int, int> imap;
|
std::map<int, int> imap;
|
||||||
imap.insert(make_pair(1, 2));
|
imap.insert(std::make_pair(1, 2));
|
||||||
test_mset tmset(ivec.begin(), ivec.end());
|
test_mset tmset(ivec.begin(), ivec.end());
|
||||||
test_mmap tmmap(imap.begin(), imap.end());
|
test_mmap tmmap(imap.begin(), imap.end());
|
||||||
test_set tset(ivec.begin(), ivec.end());
|
test_set tset(ivec.begin(), ivec.end());
|
||||||
|
|
Loading…
Reference in New Issue