summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-28 00:58:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-28 23:40:11 +0300
commit99906c44cf9208dee4e808e03fddd1f209b6b7fc (patch)
tree8472ed92c0963938dee4290d25cd6c4ebf2e4d81 /src/net/ea/inventoryhandler.h
parentc430b75e370a21a17f80d4ba3acd84111828a462 (diff)
downloadmv-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.gz
mv-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.bz2
mv-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.xz
mv-99906c44cf9208dee4e808e03fddd1f209b6b7fc.zip
add const for methods return values.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index d4dbbbd54..776443cf7 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 A_WARN_UNUSED
+ Item *getEquipment(const int index) const override A_WARN_UNUSED
{
int invyIndex = mEquipment[index];
if (invyIndex == -1)