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:
@@ -36,7 +36,7 @@ bool WaterAnimal::removeWhenFarAway()
|
||||
return true;
|
||||
}
|
||||
|
||||
int WaterAnimal::getExperienceReward(shared_ptr<Player> killedBy)
|
||||
int WaterAnimal::getExperienceReward(std::shared_ptr<Player> killedBy)
|
||||
{
|
||||
return 1 + level->random->nextInt(3);
|
||||
}
|
||||
Reference in New Issue
Block a user