summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2018-09-20 23:44:14 +0100
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitbfd79e59dc34314a089a0024af56d04d84456ebd (patch)
treed03559bac7a8c3f1d260cead2ed77791c03d37a5 /src/viewport.cpp
parent4b349c0f90c3f7b6a39171cec41cd98dcd0d88b7 (diff)
downloadopenttd-bfd79e59dc34314a089a0024af56d04d84456ebd.tar.xz
Codechange: Replace SmallVector::Clear() with std::vector::clear()
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 2cb3baa57..bd0570cf1 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -1620,11 +1620,11 @@ void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom
_cur_dpi = old_dpi;
- _vd.string_sprites_to_draw.Clear();
- _vd.tile_sprites_to_draw.Clear();
- _vd.parent_sprites_to_draw.Clear();
- _vd.parent_sprites_to_sort.Clear();
- _vd.child_screen_sprites_to_draw.Clear();
+ _vd.string_sprites_to_draw.clear();
+ _vd.tile_sprites_to_draw.clear();
+ _vd.parent_sprites_to_draw.clear();
+ _vd.parent_sprites_to_sort.clear();
+ _vd.child_screen_sprites_to_draw.clear();
}
/**