keep more than one assignment in the queue

This commit is contained in:
Stephen Birarda 2013-09-04 10:14:53 -07:00
parent 94740eed60
commit f485814a42

View file

@ -56,11 +56,6 @@ int main(int argc, const char* argv[]) {
qDebug() << "Received assignment of type " << newAssignment.getType() << "\n"; 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 // add this assignment to the queue
assignmentQueue.push(newAssignment); assignmentQueue.push(newAssignment);
} }