HCoop
/
clinton
/
bobotpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Encapsulate obscure detail that lower numeric priority is higher queue priority
[clinton/bobotpp.git]
/
source
/
ServerQueueItem.H
diff --git
a/source/ServerQueueItem.H
b/source/ServerQueueItem.H
index
c57838e
..
2e163b8
100644
(file)
--- a/
source/ServerQueueItem.H
+++ b/
source/ServerQueueItem.H
@@
-35,6
+35,8
@@
public:
virtual bool merge(ServerQueueItem *) { return false; }
virtual String getLine() = 0;
+ bool operator< (const ServerQueueItem & item);
+
friend class ServerQueue;
private: