Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n

This commit is contained in:
Henry Wilson
2018-09-25 21:01:56 +01:00
committed by PeterN
parent bc7dcaffca
commit aa7ca7fe64
9 changed files with 10 additions and 23 deletions

View File

@@ -344,6 +344,6 @@ void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, ui
if (num_items < 2) return;
assert(begin < el->size());
assert(begin + num_items <= el->size());
QSortT(el->Get(begin), num_items, compare);
QSortT(el->data() + begin, num_items, compare);
}