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:
@@ -8,7 +8,7 @@ WebTile::WebTile(int id) : Tile(id, Material::web)
|
||||
}
|
||||
|
||||
|
||||
void WebTile::entityInside(Level *level, int x, int y, int z, shared_ptr<Entity> entity)
|
||||
void WebTile::entityInside(Level *level, int x, int y, int z, std::shared_ptr<Entity> entity)
|
||||
{
|
||||
entity->makeStuckInWeb();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user