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:
@@ -35,7 +35,7 @@ private:
|
||||
bool checkCanSurvive(Level *level, int x, int y, int z);
|
||||
|
||||
public:
|
||||
void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>());
|
||||
void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, std::shared_ptr<TileEntity> forceEntity = std::shared_ptr<TileEntity>());
|
||||
void onRemove(Level *level, int x, int y, int z, int id, int data);
|
||||
virtual bool getSignal(LevelSource *level, int x, int y, int z, int dir);
|
||||
virtual bool getDirectSignal(Level *level, int x, int y, int z, int dir);
|
||||
|
||||
Reference in New Issue
Block a user