From 69317e51f6ef1250c11fabf6450b6ac976b465f9 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 22 Nov 2021 21:30:14 +0100 Subject: [PATCH] Changed arg to const ref --- handler/packetHandler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/packetHandler.hpp b/handler/packetHandler.hpp index ff21016..1245111 100644 --- a/handler/packetHandler.hpp +++ b/handler/packetHandler.hpp @@ -3,7 +3,7 @@ #include "../DTO/packet.hpp" -void packetHandler(Packet packet){ +void packetHandler(const Packet &packet){ }