summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/Queue.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/Queue.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/Queue.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/noncore/apps/opie-reader/Queue.h b/noncore/apps/opie-reader/Queue.h
index f1bd4b4..321042e 100644
--- a/noncore/apps/opie-reader/Queue.h
+++ b/noncore/apps/opie-reader/Queue.h
@@ -9,12 +9,4 @@ class CQueue : public CList<T>
public:
- bool empty() { return (front == NULL); }
+ bool empty() { return (CList<T>::front == NULL); }
void push(const T& t) { push_back(t); }
- T pop()
- {
- T data = front->data;
- node* n = front;
- front = front->next;
- delete n;
- return data;
- }
};