diff options
Diffstat (limited to 'src/beingequipbackend.h')
-rw-r--r-- | src/beingequipbackend.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/beingequipbackend.h b/src/beingequipbackend.h index a1d2119ae..b4941d018 100644 --- a/src/beingequipbackend.h +++ b/src/beingequipbackend.h @@ -36,14 +36,16 @@ class BeingEquipBackend final : public Equipment::Backend ~BeingEquipBackend(); - Item *getEquipment(const int index) const override final A_WARN_UNUSED; + const Item *getEquipment(const int index) const override final + A_WARN_UNUSED; void clear() override final; - void setEquipment(const int index, Item *const item); + void setEquipment(const int index, + const Item *const item); private: - Item *mEquipment[EQUIPMENT_SIZE]; + const Item *mEquipment[EQUIPMENT_SIZE]; }; #endif // BEINGEQUIPBACKEND_H |