Commit d2ddf441 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Increase the capacity of the correct vector

parent 62ef6f94
......@@ -969,7 +969,7 @@ void KeyCache::insert(const std::vector<Key> &keys)
// 6b. insert into subkey ID index:
std::vector<Subkey> by_subkeyid;
by_email.reserve(subkeys.size() + d->by.subkeyid.size());
by_subkeyid.reserve(subkeys.size() + d->by.subkeyid.size());
std::merge(subkeys.begin(), subkeys.end(),
d->by.subkeyid.begin(), d->by.subkeyid.end(),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment