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:
@@ -9,7 +9,7 @@ class EnchantItemCommand : public Command
|
||||
public:
|
||||
virtual EGameCommand getId();
|
||||
int getPermissionLevel();
|
||||
virtual void execute(shared_ptr<CommandSender> source, byteArray commandData);
|
||||
virtual void execute(std::shared_ptr<CommandSender> source, byteArray commandData);
|
||||
|
||||
static shared_ptr<GameCommandPacket> preparePacket(shared_ptr<Player> player, int enchantmentId, int enchantmentLevel = 1);
|
||||
static std::shared_ptr<GameCommandPacket> preparePacket(std::shared_ptr<Player> player, int enchantmentId, int enchantmentLevel = 1);
|
||||
};
|
||||
Reference in New Issue
Block a user