pull/1307/head
Václav Šmilauer 6 years ago
parent bad7284465
commit 042045b998

@ -77,11 +77,11 @@ public:
{ {
if (tail_ > head_) if (tail_ > head_)
{ {
return (tail_ - head_) % max_items; return (tail_ - head_) % max_items_;
} }
else else
{ {
return max_items - (head_ - tail_ ) % max_items; return max_items_ - (head_ - tail_ ) % max_items_;
} }
} }

Loading…
Cancel
Save