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:
@@ -167,7 +167,7 @@ void EyeOfEnderSignal::tick()
|
||||
remove();
|
||||
if (surviveAfterDeath)
|
||||
{
|
||||
level->addEntity(shared_ptr<ItemEntity>( new ItemEntity(level, x, y, z, shared_ptr<ItemInstance>(new ItemInstance(Item::eyeOfEnder)))));
|
||||
level->addEntity(std::shared_ptr<ItemEntity>( new ItemEntity(level, x, y, z, std::shared_ptr<ItemInstance>(new ItemInstance(Item::eyeOfEnder)))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user