From 7074f35e4ba831e358117842b99ee35b87f85ae5 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 15:58:20 +0700 Subject: shared_ptr -> std::shared_ptr This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today. --- Minecraft.World/ArmorSlot.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Minecraft.World/ArmorSlot.h') diff --git a/Minecraft.World/ArmorSlot.h b/Minecraft.World/ArmorSlot.h index a9797be2..2bf02067 100644 --- a/Minecraft.World/ArmorSlot.h +++ b/Minecraft.World/ArmorSlot.h @@ -13,12 +13,12 @@ private: const int slotNum; public: - ArmorSlot(int slotNum, shared_ptr container, int id, int x, int y); + ArmorSlot(int slotNum, std::shared_ptr container, int id, int x, int y); virtual ~ArmorSlot() {} virtual int getMaxStackSize(); - virtual bool mayPlace(shared_ptr item); + virtual bool mayPlace(std::shared_ptr item); Icon *getNoItemIcon(); - //virtual bool mayCombine(shared_ptr item); // 4J Added - //virtual shared_ptr combine(shared_ptr item); // 4J Added + //virtual bool mayCombine(std::shared_ptr item); // 4J Added + //virtual std::shared_ptr combine(std::shared_ptr item); // 4J Added }; \ No newline at end of file -- cgit v1.2.3