[Encapsulate obscure detail that lower numeric priority is higher queue priority clinton@unknownlamer.org**20081113064551] { hunk ./source/ServerQueue.C 49 - if ((*it)->priority > sqi->priority) + if (**it < *sqi) hunk ./source/ServerQueueItem.C 28 - - hunk ./source/ServerQueueItem.C 33 +bool ServerQueueItem::operator< (const ServerQueueItem & item) +{ + // lower numeric priority is higher priority + return item.priority < priority; +} + hunk ./source/ServerQueueItem.C 45 - - hunk ./source/ServerQueueItem.H 37 + + bool operator< (const ServerQueueItem & item); }