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:
@@ -24,13 +24,13 @@ public:
|
||||
int getId();
|
||||
int getDuration();
|
||||
int getAmplifier();
|
||||
bool tick(shared_ptr<Mob> target);
|
||||
bool tick(std::shared_ptr<Mob> target);
|
||||
|
||||
private:
|
||||
int tickDownDuration();
|
||||
|
||||
public:
|
||||
void applyEffect(shared_ptr<Mob> mob);
|
||||
void applyEffect(std::shared_ptr<Mob> mob);
|
||||
int getDescriptionId();
|
||||
int getPostfixDescriptionId(); // 4J Added
|
||||
int hashCode();
|
||||
|
||||
Reference in New Issue
Block a user