mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 12:58:13 +05:00
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:
@@ -8,12 +8,12 @@ class TextEditScreen : public Screen
|
||||
protected:
|
||||
wstring title;
|
||||
private:
|
||||
shared_ptr<SignTileEntity> sign;
|
||||
std::shared_ptr<SignTileEntity> sign;
|
||||
int frame;
|
||||
int line;
|
||||
|
||||
public:
|
||||
TextEditScreen(shared_ptr<SignTileEntity> sign);
|
||||
TextEditScreen(std::shared_ptr<SignTileEntity> sign);
|
||||
virtual void init();
|
||||
virtual void removed();
|
||||
virtual void tick();
|
||||
|
||||
Reference in New Issue
Block a user