move icePacket before send to ice server

This commit is contained in:
Stephen Birarda 2015-07-07 18:05:29 -07:00
parent e6f1fef6e4
commit acd8b610a6

View file

@ -872,7 +872,7 @@ void LimitedNodeList::sendPacketToIceServer(PacketType::Value packetType, const
<< uuidStringWithoutCurlyBraces(peerID);
}
sendPacket(icePacket, iceServerSockAddr);
sendPacket(std::move(icePacket), iceServerSockAddr);
}
void LimitedNodeList::putLocalPortIntoSharedMemory(const QString key, QObject* parent, quint16 localPort) {