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:
parent
d63f79325f
commit
7074f35e4b
1373 changed files with 12054 additions and 12054 deletions
|
|
@ -49,7 +49,7 @@ void PlayerCloudParticle::tick()
|
|||
xd *= 0.96f;
|
||||
yd *= 0.96f;
|
||||
zd *= 0.96f;
|
||||
shared_ptr<Player> p = level->getNearestPlayer(shared_from_this(), 2);
|
||||
std::shared_ptr<Player> p = level->getNearestPlayer(shared_from_this(), 2);
|
||||
if (p != NULL)
|
||||
{
|
||||
if (y > p->bb->y0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue