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:
@@ -65,7 +65,7 @@ public:
|
||||
ArmorItem(int id, const ArmorMaterial *armorType, int icon, int slot);
|
||||
|
||||
//@Override
|
||||
int getColor(shared_ptr<ItemInstance> item, int spriteLayer);
|
||||
int getColor(std::shared_ptr<ItemInstance> item, int spriteLayer);
|
||||
|
||||
//@Override
|
||||
bool hasMultipleSpriteLayers();
|
||||
@@ -73,15 +73,15 @@ public:
|
||||
virtual int getEnchantmentValue();
|
||||
|
||||
const ArmorMaterial *getMaterial();
|
||||
bool hasCustomColor(shared_ptr<ItemInstance> item);
|
||||
int getColor(shared_ptr<ItemInstance> item);
|
||||
bool hasCustomColor(std::shared_ptr<ItemInstance> item);
|
||||
int getColor(std::shared_ptr<ItemInstance> item);
|
||||
|
||||
//@Override
|
||||
Icon *getLayerIcon(int auxValue, int spriteLayer);
|
||||
void clearColor(shared_ptr<ItemInstance> item);
|
||||
void setColor(shared_ptr<ItemInstance> item, int color);
|
||||
void clearColor(std::shared_ptr<ItemInstance> item);
|
||||
void setColor(std::shared_ptr<ItemInstance> item, int color);
|
||||
|
||||
bool isValidRepairItem(shared_ptr<ItemInstance> source, shared_ptr<ItemInstance> repairItem);
|
||||
bool isValidRepairItem(std::shared_ptr<ItemInstance> source, std::shared_ptr<ItemInstance> repairItem);
|
||||
|
||||
//@Override
|
||||
void registerIcons(IconRegister *iconRegister);
|
||||
|
||||
Reference in New Issue
Block a user