Commit 29b3f471 authored by gabime's avatar gabime

Added const vecsion to circula_q::front()

parent 4985875a
......@@ -62,6 +62,11 @@ public:
// Return reference to the front item.
// If there are no elements in the container, the behavior is undefined.
const T& front() const
{
return v_[head_];
}
T& front()
{
return v_[head_];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment