From d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:17 +0300 Subject: add final keyword to gui files. --- src/gui/sdlfont.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/sdlfont.h') 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(); -- cgit v1.2.3-60-g2f50