Kaydet (Commit) 0c1a63b1 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

No need to trim capacity any more; it's allocated to the exact size.

üst 9e19cf80
......@@ -756,12 +756,6 @@ public:
void ScDPCache::PostInit()
{
maEmptyRows.build_tree();
FieldsType::iterator it = maFields.begin(), itEnd = maFields.end();
for (; it != itEnd; ++it)
{
// Trim excess capacity.
ItemsType(it->maItems).swap(it->maItems);
}
}
void ScDPCache::Clear()
......
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