diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:17 +0300 |
commit | d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (patch) | |
tree | a2cec0346050bd47660b33654ec05bd85141af3d /src/gui/sdlfont.h | |
parent | 10be802d2640bad75222736216cdcfcd7fb6a521 (diff) | |
download | manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.gz manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.bz2 manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.xz manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.zip |
add final keyword to gui files.
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r-- | src/gui/sdlfont.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h index 55dafe744..58a22871f 100644 --- a/src/gui/sdlfont.h +++ b/src/gui/sdlfont.h @@ -121,9 +121,10 @@ class SDLFont final : public gcn::Font const int size, const int style = 0); - int getWidth(const std::string &text) const override A_WARN_UNUSED; + int getWidth(const std::string &text) const override + final A_WARN_UNUSED; - int getHeight() const override A_WARN_UNUSED; + int getHeight() const override final A_WARN_UNUSED; const TextChunkList *getCache() const A_WARN_UNUSED; @@ -132,7 +133,7 @@ class SDLFont final : public gcn::Font */ void drawString(gcn::Graphics *const graphics, const std::string &text, - const int x, const int y) override; + const int x, const int y) override final; void clear(); |