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,11 +13,11 @@ public:
|
||||
SilverfishRenderer();
|
||||
|
||||
protected:
|
||||
float getFlipDegrees(shared_ptr<Silverfish> spider);
|
||||
float getFlipDegrees(std::shared_ptr<Silverfish> spider);
|
||||
|
||||
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:
|
||||
int prepareArmor(shared_ptr<Mob> _silverfish, int layer, float a);
|
||||
int prepareArmor(std::shared_ptr<Mob> _silverfish, int layer, float a);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user