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:
@@ -52,7 +52,7 @@ bool PickaxeItem::canDestroySpecial(Tile *tile)
|
||||
}
|
||||
|
||||
// 4J - brought forward from 1.2.3
|
||||
float PickaxeItem::getDestroySpeed(shared_ptr<ItemInstance> itemInstance, Tile *tile)
|
||||
float PickaxeItem::getDestroySpeed(std::shared_ptr<ItemInstance> itemInstance, Tile *tile)
|
||||
{
|
||||
if (tile != NULL && (tile->material == Material::metal || tile->material == Material::heavyMetal || tile->material == Material::stone))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user