move the assignment packet

This commit is contained in:
Stephen Birarda 2015-07-07 18:24:11 -07:00
parent 161fcf185c
commit a489c3558d

View file

@ -594,7 +594,7 @@ void NodeList::sendAssignment(Assignment& assignment) {
packetStream << assignment;
// TODO: should this be a non sourced packet?
sendPacket(assignmentPacket, _assignmentServerSocket);
sendPacket(std::move(assignmentPacket), _assignmentServerSocket);
}
void NodeList::pingPunchForInactiveNode(const SharedNodePointer& node) {