From b8c77348db8b0bf500cb6a13cce75c61a544c500 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:19:01 +0300 Subject: add final keyword to all other files. --- src/flooritem.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/flooritem.h') diff --git a/src/flooritem.h b/src/flooritem.h index 612dda22c..2d825b310 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -52,11 +52,11 @@ class FloorItem final : public ActorSprite void postInit(Map *const map, int subX, int subY); - Type getType() const override A_WARN_UNUSED + Type getType() const override final A_WARN_UNUSED { return FLOOR_ITEM; } bool draw(Graphics *const graphics, - const int offsetX, const int offsetY) const override; + const int offsetX, const int offsetY) const override final; /** * Returns the item ID. @@ -72,10 +72,10 @@ class FloorItem final : public ActorSprite std::string getName() const A_WARN_UNUSED; - int getTileX() const override A_WARN_UNUSED + int getTileX() const override final A_WARN_UNUSED { return mX; } - int getTileY() const override A_WARN_UNUSED + int getTileY() const override final A_WARN_UNUSED { return mY; } void incrementPickup() -- cgit v1.2.3-70-g09d2