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,9 +24,9 @@ private:
|
||||
public:
|
||||
static float xa, ya, za, xa2, za2;
|
||||
|
||||
static void prepare(shared_ptr<Player> player, bool mirror);
|
||||
static void prepare(std::shared_ptr<Player> player, bool mirror);
|
||||
|
||||
static TilePos *getCameraTilePos(shared_ptr<Mob> player, double alpha);
|
||||
static Vec3 *getCameraPos(shared_ptr<Mob> player, double alpha);
|
||||
static int getBlockAt(Level *level, shared_ptr<Mob> player, float alpha);
|
||||
static TilePos *getCameraTilePos(std::shared_ptr<Mob> player, double alpha);
|
||||
static Vec3 *getCameraPos(std::shared_ptr<Mob> player, double alpha);
|
||||
static int getBlockAt(Level *level, std::shared_ptr<Mob> player, float alpha);
|
||||
};
|
||||
Reference in New Issue
Block a user