Add Vlist's cache

add functions to load Vlist's cache
This commit is contained in:
ZongyueQin 2017-07-15 11:06:26 +08:00 committed by GitHub
parent ec07a520e9
commit 820cf4efef
1 changed files with 5 additions and 5 deletions

View File

@ -627,12 +627,12 @@ IVTree::release(IVNode* _np) const
void void
IVTree::AddIntoCache(TYPE_ENTITY_LITERAL_ID _id) IVTree::AddIntoCache(TYPE_ENTITY_LITERAL_ID _id)
{ {
char* tmp = NULL; char* _tmp = NULL;
unsigned len; unsigned _len;
this->search(_id, tmp, len); this->search(_id, _tmp, _len);
// cout << "len is " << len << endl; // cout << "len is " << len << endl;
this->value_list->AddIntoCache(_id, tmp, len); this->value_list->AddIntoCache(_id, _tmp, _len);
delete [] tmp; delete [] _tmp;
} }
IVTree::~IVTree() IVTree::~IVTree()