Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()

This commit is contained in:
Henry Wilson
2019-02-18 22:39:06 +00:00
committed by PeterN
parent ca2f33c6d0
commit a0f36a50e6
79 changed files with 402 additions and 403 deletions

View File

@@ -57,7 +57,7 @@ protected:
const StoryPage *p;
FOR_ALL_STORY_PAGES(p) {
if (this->IsPageAvailable(p)) {
*this->story_pages.Append() = p;
this->story_pages.push_back(p);
}
}
@@ -85,7 +85,7 @@ protected:
const StoryPageElement *pe;
FOR_ALL_STORY_PAGE_ELEMENTS(pe) {
if (pe->page == p->index) {
*this->story_page_elements.Append() = pe;
this->story_page_elements.push_back(pe);
}
}
}
@@ -248,7 +248,7 @@ protected:
item = str_item;
}
*list->Append() = item;
list->push_back(item);
page_num++;
}