diff options
Diffstat (limited to 'common/queue.h')
-rw-r--r-- | common/queue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/queue.h b/common/queue.h index cfe7f4e596..df8dcfe04c 100644 --- a/common/queue.h +++ b/common/queue.h @@ -55,19 +55,19 @@ public: } T &front() { - return *_impl.begin(); + return _impl.front(); } const T &front() const { - return *_impl.begin(); + return _impl.front(); } T &back() { - return *_impl.reverse_begin(); + return _impl.back(); } const T &back() const { - return *_impl.reverse_begin(); + return _impl.back(); } T pop() { |