From f485814a42c3ccc52b38cb0209ef5e66f2edcf20 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 4 Sep 2013 10:14:53 -0700 Subject: [PATCH] keep more than one assignment in the queue --- assignment-server/src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/assignment-server/src/main.cpp b/assignment-server/src/main.cpp index 04c7cfb088..eb89e953b4 100644 --- a/assignment-server/src/main.cpp +++ b/assignment-server/src/main.cpp @@ -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);