diff options
author | Michael Lutz <michi@icosahedron.de> | 2019-04-02 21:30:34 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-04-09 22:45:15 +0200 |
commit | fbc4cef180a60d8875df6298364f0459beb3568a (patch) | |
tree | 9e98cf68e1ea19b01a16639017509c9f2d55a292 /src/os/macosx/string_osx.h | |
parent | d95c7083ea582ea723107aa42f27b8cf3e3365e1 (diff) | |
download | openttd-fbc4cef180a60d8875df6298364f0459beb3568a.tar.xz |
Codechange: Use override specifier for text layout classes.
Diffstat (limited to 'src/os/macosx/string_osx.h')
-rw-r--r-- | src/os/macosx/string_osx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os/macosx/string_osx.h b/src/os/macosx/string_osx.h index d632b0a44..8c9b7058a 100644 --- a/src/os/macosx/string_osx.h +++ b/src/os/macosx/string_osx.h @@ -30,10 +30,10 @@ class OSXStringIterator : public StringIterator { size_t cur_pos; ///< Current iteration position. public: - virtual void SetString(const char *s); - virtual size_t SetCurPosition(size_t pos); - virtual size_t Next(IterType what); - virtual size_t Prev(IterType what); + void SetString(const char *s) override; + size_t SetCurPosition(size_t pos) override; + size_t Next(IterType what) override; + size_t Prev(IterType what) override; static StringIterator *Create(); }; |