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:
@@ -14,7 +14,7 @@ AABB *HellSandTile::getAABB(Level *level, int x, int y, int z)
|
||||
return AABB::newTemp(x, y, z, x + 1, y + 1 - r, z + 1);
|
||||
}
|
||||
|
||||
void HellSandTile::entityInside(Level *level, int x, int y, int z, shared_ptr<Entity> entity)
|
||||
void HellSandTile::entityInside(Level *level, int x, int y, int z, std::shared_ptr<Entity> entity)
|
||||
{
|
||||
entity->xd*=0.4;
|
||||
entity->zd*=0.4;
|
||||
|
||||
Reference in New Issue
Block a user