mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
replaced takeFirst() with dequeue() for consistency
This commit is contained in:
parent
e45f2fed4b
commit
8312e1642d
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ bool OctreeQueryNode::hasNextNackedPacket() const {
|
|||
const QByteArray* OctreeQueryNode::getNextNackedPacket() {
|
||||
if (!_nackedSequenceNumbers.isEmpty()) {
|
||||
// could return null if packet is not in the history
|
||||
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.takeFirst());
|
||||
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.dequeue());
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue