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:
@@ -20,7 +20,7 @@ public:
|
||||
int shakeTime;
|
||||
|
||||
protected:
|
||||
shared_ptr<Mob> owner;
|
||||
std::shared_ptr<Mob> owner;
|
||||
|
||||
private:
|
||||
int life;
|
||||
@@ -37,7 +37,7 @@ protected:
|
||||
public:
|
||||
virtual bool shouldRenderAtSqrDistance(double distance);
|
||||
|
||||
Throwable(Level *level, shared_ptr<Mob> mob);
|
||||
Throwable(Level *level, std::shared_ptr<Mob> mob);
|
||||
Throwable(Level *level, double x, double y, double z);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user