(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns

This commit is contained in:
rubidium
2013-11-24 14:46:26 +00:00
parent db894b0b3f
commit 83eeba28b7
15 changed files with 115 additions and 129 deletions

View File

@@ -246,12 +246,12 @@ protected:
item = str_item;
}
list->push_back(item);
*list->Append() = item;
page_num++;
}
/* Check if list is empty. */
if (list->size() == 0) {
if (list->Length() == 0) {
delete list;
list = NULL;
}