Fix compile error in test. Can't use `operator[]` for multimap.

llvm-svn: 253271
This commit is contained in:
Marshall Clow 2015-11-16 23:40:27 +00:00
parent 97a8695aa1
commit 28ec78e7a5
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}