From 4d8597b1d6444c0ab1e12ffb4de129fc0ad24950 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 22 Nov 2021 16:15:52 +0100 Subject: [PATCH] Made pass const --- handler/textPacketHandler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/textPacketHandler.hpp b/handler/textPacketHandler.hpp index 0bb6639..ec3f2d0 100644 --- a/handler/textPacketHandler.hpp +++ b/handler/textPacketHandler.hpp @@ -24,7 +24,7 @@ const std::unordered_map PACKET_TYPE_MAP({ {"BA", PacketType::BlockAcknowledgment} }); -void textPacketHandler(std::vector textPacket){ +void textPacketHandler(const std::vector textPacket){ /// Here we have to parse the packet // Create empty packet Packet packet;