From fbffaf4ccfdccd6565883127229ee47d80ed8202 Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Wed, 30 Sep 2020 16:29:41 +0900 Subject: [PATCH] remove undesired copy --- Artnet.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Artnet.h b/Artnet.h index bdde5c7..61327ef 100644 --- a/Artnet.h +++ b/Artnet.h @@ -283,7 +283,6 @@ namespace arx { if (opcode(d) == OPC(OpCode::Dmx)) { - memmove(packet.data(), d, size); memcpy(packet.data(), d, size); remote_ip = stream->S::remoteIP(); remote_port = (uint16_t)stream->S::remotePort();