summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/net/ea
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadmv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/equipbackend.h2
-rw-r--r--src/net/ea/inventoryhandler.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/equipbackend.h b/src/net/ea/equipbackend.h
index 3b3297315..5aa56bf6b 100644
--- a/src/net/ea/equipbackend.h
+++ b/src/net/ea/equipbackend.h
@@ -56,7 +56,7 @@ class EquipBackend final : public Equipment::Backend
return nullptr;
}
- void clear()
+ void clear() override final
{
Inventory *const inv = PlayerInfo::getInventory();
if (!inv)
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index c8aadc514..9b2e85287 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -51,7 +51,7 @@ class InventoryHandler notfinal : public Net::InventoryHandler
virtual ~InventoryHandler();
- void clear();
+ void clear() override final;
bool canSplit(const Item *const item) const
override final A_WARN_UNUSED;
@@ -89,7 +89,7 @@ class InventoryHandler notfinal : public Net::InventoryHandler
void forgotStorage() override final;
- Inventory *getStorage() const
+ Inventory *getStorage() const override final
{ return mStorage; }
protected: