summaryrefslogtreecommitdiff
path: root/src/being/flooritem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/flooritem.h')
-rw-r--r--src/being/flooritem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/flooritem.h b/src/being/flooritem.h
index b62d00e7b..1b5b87d3e 100644
--- a/src/being/flooritem.h
+++ b/src/being/flooritem.h
@@ -68,12 +68,12 @@ class FloorItem final : public ActorSprite
void postInit(Map *const map, int subX, int subY);
- ActorTypeT getType() const noexcept final A_WARN_UNUSED
+ ActorTypeT getType() const noexcept override final A_WARN_UNUSED
{ return ActorType::FloorItem; }
void draw(Graphics *const graphics,
const int offsetX, const int offsetY)
- const final A_NONNULL(2);
+ const override final A_NONNULL(2);
/**
* Returns the item ID.
@@ -89,10 +89,10 @@ class FloorItem final : public ActorSprite
std::string getName() const A_WARN_UNUSED;
- int getTileX() const final A_WARN_UNUSED
+ int getTileX() const override final A_WARN_UNUSED
{ return mX; }
- int getTileY() const final A_WARN_UNUSED
+ int getTileY() const override final A_WARN_UNUSED
{ return mY; }
void incrementPickup()