remove undesired copy

master
Hideaki Tai 4 years ago
parent a3a4907d30
commit fbffaf4ccf

@ -283,7 +283,6 @@ namespace arx
{ {
if (opcode(d) == OPC(OpCode::Dmx)) if (opcode(d) == OPC(OpCode::Dmx))
{ {
memmove(packet.data(), d, size);
memcpy(packet.data(), d, size); memcpy(packet.data(), d, size);
remote_ip = stream->S::remoteIP(); remote_ip = stream->S::remoteIP();
remote_port = (uint16_t)stream->S::remotePort(); remote_port = (uint16_t)stream->S::remotePort();

Loading…
Cancel
Save