Fix compile error in test. Can't use `operator[]` for multimap.
llvm-svn: 253271
This commit is contained in:
parent
97a8695aa1
commit
28ec78e7a5
|
@ -42,7 +42,7 @@ void reserve_invariant(size_t n) // LWG #2156
|
|||
size_t buckets = c.bucket_count();
|
||||
for (size_t j = 0; j < i; ++j)
|
||||
{
|
||||
c[i] = i;
|
||||
c.insert(std::unordered_multimap<size_t, size_t>::value_type(i,i));
|
||||
assert(buckets == c.bucket_count());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue