mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 15:30:11 +02:00
keep more than one assignment in the queue
This commit is contained in:
parent
94740eed60
commit
f485814a42
1 changed files with 0 additions and 5 deletions
|
@ -55,11 +55,6 @@ int main(int argc, const char* argv[]) {
|
|||
Assignment newAssignment((Assignment::Type) *(senderData + numBytesForPacketHeader(senderData)), senderSocket);
|
||||
|
||||
qDebug() << "Received assignment of type " << newAssignment.getType() << "\n";
|
||||
|
||||
// for the puroposes of debugging before implementing a GUID system - only keep latest
|
||||
if (assignmentQueue.size() > 0) {
|
||||
assignmentQueue.pop();
|
||||
}
|
||||
|
||||
// add this assignment to the queue
|
||||
assignmentQueue.push(newAssignment);
|
||||
|
|
Loading…
Reference in a new issue