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:
@@ -10,11 +10,11 @@ public:
|
||||
virtual eINSTANCEOF GetType() { return eTYPE_DELAYEDRELEASE; }
|
||||
|
||||
private:
|
||||
shared_ptr<Entity> toRelease;
|
||||
std::shared_ptr<Entity> toRelease;
|
||||
int delay;
|
||||
|
||||
public:
|
||||
DelayedRelease(Level *level, shared_ptr<Entity> toRelease, int delay);
|
||||
DelayedRelease(Level *level, std::shared_ptr<Entity> toRelease, int delay);
|
||||
|
||||
protected:
|
||||
virtual bool makeStepSound();
|
||||
|
||||
Reference in New Issue
Block a user