summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 676088b94..1a66a13a4 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -183,6 +183,7 @@ public:
InventoryList(const InventoryList &other);
InventoryList & operator = (const InventoryList &other);
+ bool operator == (const InventoryList &other);
const std::string &getName() const;
u32 getSize() const;
@@ -258,6 +259,7 @@ public:
Inventory(IItemDefManager *itemdef);
Inventory(const Inventory &other);
Inventory & operator = (const Inventory &other);
+ bool operator == (const Inventory &other);
void serialize(std::ostream &os) const;
void deSerialize(std::istream &is);