Index: src/unbound-queue.h |
diff --git a/src/unbound-queue.h b/src/unbound-queue.h |
index 59a426b7fedf72c822a6d8d4aaf1ee2aa75b3213..429e3c673e5e9d0e316656ad9bd32e0a5696d366 100644 |
--- a/src/unbound-queue.h |
+++ b/src/unbound-queue.h |
@@ -46,10 +46,10 @@ class UnboundQueue BASE_EMBEDDED { |
inline UnboundQueue(); |
inline ~UnboundQueue(); |
- INLINE(void Dequeue(Record* rec)); |
+ INLINE(bool Dequeue(Record* rec)); |
INLINE(void Enqueue(const Record& rec)); |
- INLINE(bool IsEmpty()) { return divider_ == last_; } |
- INLINE(Record* Peek()); |
+ INLINE(bool IsEmpty() const); |
+ INLINE(Record* Peek() const); |
private: |
INLINE(void DeleteFirst()); |