From af2677411d895573cf9bc225518d6a1a16079863 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:18:21 +0300 Subject: add final keyword to particles files. --- src/particle/textparticle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/particle/textparticle.h') diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h index 272f1c6e1..7b63ff259 100644 --- a/src/particle/textparticle.h +++ b/src/particle/textparticle.h @@ -41,14 +41,14 @@ class TextParticle final : public Particle * Draws the particle image. */ bool draw(Graphics *const graphics, - const int offsetX, const int offsetY) const override; + const int offsetX, const int offsetY) const override final; // hack to improve text visibility - int getPixelY() const override A_WARN_UNUSED + int getPixelY() const override final A_WARN_UNUSED { return static_cast(mPos.y + mPos.z); } // hack to improve text visibility (for sorting only) - int getSortPixelY() const override A_WARN_UNUSED + int getSortPixelY() const override final A_WARN_UNUSED { return static_cast(mPos.y + mPos.z); } private: -- cgit v1.2.3-60-g2f50