summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:35 +0300
commit1814650ad896a0f9684d279fa5843771e767748a (patch)
tree5387bdca11a76198c7be67b7009cacd9fc31b0fb /src/net/ea/inventoryhandler.h
parentd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (diff)
downloadmanaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.gz
manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.bz2
manaplus-1814650ad896a0f9684d279fa5843771e767748a.tar.xz
manaplus-1814650ad896a0f9684d279fa5843771e767748a.zip
add final keyword to net files.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index 9f55a3603..d2b579301 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -51,7 +51,7 @@ class EquipBackend : public Equipment::Backend
A_DELETE_COPY(EquipBackend)
- Item *getEquipment(const int index) const override A_WARN_UNUSED
+ Item *getEquipment(const int index) const override final A_WARN_UNUSED
{
int invyIndex = mEquipment[index];
if (invyIndex == -1)
@@ -152,19 +152,20 @@ class InventoryHandler : public Net::InventoryHandler
void clear();
- bool canSplit(const Item *const item) const override A_WARN_UNUSED;
+ bool canSplit(const Item *const item) const override final A_WARN_UNUSED;
void splitItem(const Item *const item,
- const int amount) const override;
+ const int amount) const override final;
- void moveItem(const int oldIndex, const int newIndex) const override;
+ void moveItem(const int oldIndex,
+ const int newIndex) const override final;
- void openStorage(const int type) const override;
+ void openStorage(const int type) const override final;
- size_t getSize(const int type) const override A_WARN_UNUSED;
+ size_t getSize(const int type) const override final A_WARN_UNUSED;
int convertFromServerSlot(const int serverSlot)
- const override A_WARN_UNUSED;
+ const override final A_WARN_UNUSED;
void pushPickup(const int floorId)
{ mSentPickups.push(floorId); }