Codechange: use reference instead of pointer for CommandPacket
This commit is contained in:
@@ -530,8 +530,8 @@ public:
|
||||
|
||||
NetworkRecvStatus ReceivePackets();
|
||||
|
||||
const char *ReceiveCommand(Packet &p, CommandPacket *cp);
|
||||
void SendCommand(Packet &p, const CommandPacket *cp);
|
||||
const char *ReceiveCommand(Packet &p, CommandPacket &cp);
|
||||
void SendCommand(Packet &p, const CommandPacket &cp);
|
||||
|
||||
bool IsPendingDeletion() const { return this->is_pending_deletion; }
|
||||
|
||||
|
Reference in New Issue
Block a user