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:
@@ -13,13 +13,13 @@ public:
|
||||
VillagerRenderer();
|
||||
|
||||
protected:
|
||||
virtual int prepareArmor(shared_ptr<Mob> villager, int layer, float a);
|
||||
virtual int prepareArmor(std::shared_ptr<Mob> villager, int layer, float a);
|
||||
|
||||
public:
|
||||
virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
||||
virtual void render(std::shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
||||
|
||||
protected:
|
||||
virtual void renderName(shared_ptr<Mob> mob, double x, double y, double z);
|
||||
virtual void additionalRendering(shared_ptr<Mob> mob, float a);
|
||||
virtual void scale(shared_ptr<Mob> player, float a);
|
||||
virtual void renderName(std::shared_ptr<Mob> mob, double x, double y, double z);
|
||||
virtual void additionalRendering(std::shared_ptr<Mob> mob, float a);
|
||||
virtual void scale(std::shared_ptr<Mob> player, float a);
|
||||
};
|
||||
Reference in New Issue
Block a user