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:
@@ -16,9 +16,9 @@ protected:
|
||||
int prepareArmor(VillagerGolemModel *villagerGolem, int layer, float a);
|
||||
|
||||
public:
|
||||
void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
||||
void render(std::shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
||||
|
||||
protected:
|
||||
void setupRotations(shared_ptr<Mob> _mob, float bob, float bodyRot, float a);
|
||||
void additionalRendering(shared_ptr<Mob> mob, float a);
|
||||
void setupRotations(std::shared_ptr<Mob> _mob, float bob, float bodyRot, float a);
|
||||
void additionalRendering(std::shared_ptr<Mob> mob, float a);
|
||||
};
|
||||
Reference in New Issue
Block a user