mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 15:17:42 +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() {
|
const QByteArray* OctreeQueryNode::getNextNackedPacket() {
|
||||||
if (!_nackedSequenceNumbers.isEmpty()) {
|
if (!_nackedSequenceNumbers.isEmpty()) {
|
||||||
// could return null if packet is not in the history
|
// could return null if packet is not in the history
|
||||||
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.takeFirst());
|
return _sentPacketHistory.getPacket(_nackedSequenceNumbers.dequeue());
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue