diff options
author | Henry Wilson <m3henry@googlemail.com> | 2018-09-20 23:44:14 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-26 20:15:57 +0000 |
commit | bfd79e59dc34314a089a0024af56d04d84456ebd (patch) | |
tree | d03559bac7a8c3f1d260cead2ed77791c03d37a5 /src/story_gui.cpp | |
parent | 4b349c0f90c3f7b6a39171cec41cd98dcd0d88b7 (diff) | |
download | openttd-bfd79e59dc34314a089a0024af56d04d84456ebd.tar.xz |
Codechange: Replace SmallVector::Clear() with std::vector::clear()
Diffstat (limited to 'src/story_gui.cpp')
-rw-r--r-- | src/story_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp index 8b12207e3..0ccfe2b63 100644 --- a/src/story_gui.cpp +++ b/src/story_gui.cpp @@ -52,7 +52,7 @@ protected: void BuildStoryPageList() { if (this->story_pages.NeedRebuild()) { - this->story_pages.Clear(); + this->story_pages.clear(); const StoryPage *p; FOR_ALL_STORY_PAGES(p) { @@ -78,7 +78,7 @@ protected: void BuildStoryPageElementList() { if (this->story_page_elements.NeedRebuild()) { - this->story_page_elements.Clear(); + this->story_page_elements.clear(); const StoryPage *p = GetSelPage(); if (p != NULL) { |