Made pass const
This commit is contained in:
parent
3c379a1a80
commit
4d8597b1d6
@ -24,7 +24,7 @@ const std::unordered_map<std::string, PacketType> PACKET_TYPE_MAP({
|
|||||||
{"BA", PacketType::BlockAcknowledgment}
|
{"BA", PacketType::BlockAcknowledgment}
|
||||||
});
|
});
|
||||||
|
|
||||||
void textPacketHandler(std::vector<std::string> textPacket){
|
void textPacketHandler(const std::vector<std::string> textPacket){
|
||||||
/// Here we have to parse the packet
|
/// Here we have to parse the packet
|
||||||
// Create empty packet
|
// Create empty packet
|
||||||
Packet packet;
|
Packet packet;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user