From b3d744fe992a13192685a8482ba90cf2046e30be Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 11 Sep 2022 11:31:39 +0200 Subject: [PATCH] chore(packet): also no need for && in constructor --- src/Packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Packet.cpp b/src/Packet.cpp index 758459a..7d5b96d 100644 --- a/src/Packet.cpp +++ b/src/Packet.cpp @@ -40,7 +40,7 @@ public: { } - Packet(PacketType packet_type, uint8_t flags, std::vector &&data) + Packet(PacketType packet_type, uint8_t flags, std::vector data) : m_buffer(std::move(data)), m_packet_type(packet_type), m_flags(flags) -- libgit2 0.21.4