mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LCE-Revelations.git
synced 2026-09-24 11:31:18 +00:00
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.
This commit is contained in:
@@ -10,6 +10,6 @@ public:
|
||||
virtual int getMinCost(int level);
|
||||
virtual int getMaxCost(int level);
|
||||
virtual int getMaxLevel();
|
||||
virtual bool canEnchant(shared_ptr<ItemInstance> item);
|
||||
static bool shouldIgnoreDurabilityDrop(shared_ptr<ItemInstance> item, int level, Random *random);
|
||||
virtual bool canEnchant(std::shared_ptr<ItemInstance> item);
|
||||
static bool shouldIgnoreDurabilityDrop(std::shared_ptr<ItemInstance> item, int level, Random *random);
|
||||
};
|
||||
Reference in New Issue
Block a user