remove undesired copy
This commit is contained in:
parent
a3a4907d30
commit
fbffaf4ccf
1
Artnet.h
1
Artnet.h
@ -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…
Reference in New Issue
Block a user