Commit f70f9351 authored by Jason S Zang's avatar Jason S Zang

Fix typo

parent cc6642bd
......@@ -201,7 +201,7 @@ void Variable::list_exposed(std::vector<std::string>* names,
return;
}
names->clear();
if (names->size() < 32) {
if (names->capacity() < 32) {
names->reserve(count_exposed());
}
VarMapWithLock* var_maps = get_var_maps();
......
Markdown is supported
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