replace append with insert to work around assert

This commit is contained in:
Stephen Birarda 2016-03-21 11:15:43 -07:00
parent b059e98ff5
commit 74ae18e514

View file

@ -512,7 +512,7 @@ bool SendQueue::isInactive(bool sentAPacket) {
// add them to the loss list
// Note that thanks to the DoubleLock we have the _naksLock right now
_naks.append(SequenceNumber(_lastACKSequenceNumber) + 1, _currentSequenceNumber);
_naks.insert(SequenceNumber(_lastACKSequenceNumber) + 1, _currentSequenceNumber);
}
}
}