Unverified Commit 174500e4 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #757 from jasonszang/master

Fix typo
parents cc6642bd f70f9351
......@@ -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