mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-19 13:03:51 +00:00
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:
parent
d63f79325f
commit
7074f35e4b
1373 changed files with 12054 additions and 12054 deletions
|
|
@ -94,15 +94,15 @@ int EmptyLevelChunk::getRawBrightness(int x, int y, int z, int skyDampen)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::addEntity(shared_ptr<Entity> e)
|
||||
void EmptyLevelChunk::addEntity(std::shared_ptr<Entity> e)
|
||||
{
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::removeEntity(shared_ptr<Entity> e)
|
||||
void EmptyLevelChunk::removeEntity(std::shared_ptr<Entity> e)
|
||||
{
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::removeEntity(shared_ptr<Entity> e, int yc)
|
||||
void EmptyLevelChunk::removeEntity(std::shared_ptr<Entity> e, int yc)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -115,16 +115,16 @@ void EmptyLevelChunk::skyBrightnessChanged()
|
|||
{
|
||||
}
|
||||
|
||||
shared_ptr<TileEntity> EmptyLevelChunk::getTileEntity(int x, int y, int z)
|
||||
std::shared_ptr<TileEntity> EmptyLevelChunk::getTileEntity(int x, int y, int z)
|
||||
{
|
||||
return shared_ptr<TileEntity>();
|
||||
return std::shared_ptr<TileEntity>();
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::addTileEntity(shared_ptr<TileEntity> te)
|
||||
void EmptyLevelChunk::addTileEntity(std::shared_ptr<TileEntity> te)
|
||||
{
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::setTileEntity(int x, int y, int z, shared_ptr<TileEntity> tileEntity)
|
||||
void EmptyLevelChunk::setTileEntity(int x, int y, int z, std::shared_ptr<TileEntity> tileEntity)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -144,11 +144,11 @@ void EmptyLevelChunk::markUnsaved()
|
|||
{
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::getEntities(shared_ptr<Entity> except, AABB bb, vector<shared_ptr<Entity> > &es)
|
||||
void EmptyLevelChunk::getEntities(std::shared_ptr<Entity> except, AABB bb, vector<std::shared_ptr<Entity> > &es)
|
||||
{
|
||||
}
|
||||
|
||||
void EmptyLevelChunk::getEntitiesOfClass(const type_info& ec, AABB bb, vector<shared_ptr<Entity> > &es)
|
||||
void EmptyLevelChunk::getEntitiesOfClass(const type_info& ec, AABB bb, vector<std::shared_ptr<Entity> > &es)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue