summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r--src/gui/sdlfont.h7
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();