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:
1 parent
d63f79325f
commit
7074f35e4b
1373 files changed
+12054
-12054
No files matched your search
@@ -244,7 +244,7 @@ void TileRenderer::tesselateInWorldFixedTexture( Tile* tile, int x, int y, int z
|
||||
}
|
||||
|
||||
void TileRenderer::tesselateInWorldNoCulling( Tile* tile, int x, int y, int z, int forceData,
|
||||
shared_ptr< TileEntity > forceEntity ) // 4J added forceData, forceEntity param
|
||||
std::shared_ptr< TileEntity > forceEntity ) // 4J added forceData, forceEntity param
|
||||
{
|
||||
noCulling = true;
|
||||
tesselateInWorld( tile, x, y, z, forceData );
|
||||
@@ -252,7 +252,7 @@ void TileRenderer::tesselateInWorldNoCulling( Tile* tile, int x, int y, int z, i
|
||||
}
|
||||
|
||||
bool TileRenderer::tesselateInWorld( Tile* tt, int x, int y, int z, int forceData,
|
||||
shared_ptr< TileEntity > forceEntity ) // 4J added forceData, forceEntity param
|
||||
std::shared_ptr< TileEntity > forceEntity ) // 4J added forceData, forceEntity param
|
||||
{
|
||||
Tesselator* t = Tesselator::getInstance();
|
||||
int shape = tt->getRenderShape();
|
||||
|
||||
Reference in new issue
Block a user