From 8e3b63bd28579d8f8cb3e7844600504f12b087a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ANAND=20=EF=B8=BB=E6=B0=94=E3=83=87=E2=95=90=E4=B8=80?= Date: Sat, 11 May 2019 22:18:27 +0530 Subject: Define operators == and != for ItemStack --- src/inventory.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index 3bc67da1b..2335136b1 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -508,14 +508,9 @@ bool InventoryList::operator == (const InventoryList &other) const return false; if(m_name != other.m_name) return false; - for(u32 i=0; i