Added const vecsion to circula_q::front()

pull/1228/head
gabime 6 years ago
parent 4985875a15
commit 29b3f471cf

@ -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_];

Loading…
Cancel
Save