From 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Feb 2015 13:20:34 +0300 Subject: Add missing override keywords. --- src/net/ea/inventoryhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea/inventoryhandler.h') 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: -- cgit v1.2.3-70-g09d2