mirror of
https://github.com/xfarrow/lasd.git
synced 2025-06-05 21:49:14 +02:00
Library 2
This commit is contained in:
@ -140,7 +140,7 @@ bool QueueVec<Data>::Empty() const noexcept{
|
|||||||
|
|
||||||
template <typename Data>
|
template <typename Data>
|
||||||
ulong QueueVec<Data>::Size() const noexcept{
|
ulong QueueVec<Data>::Size() const noexcept{
|
||||||
if(size == 0) return 0; // this won't ever get executed, it's here just in case
|
//if(size == 0) return 0; // this won't ever get executed, it's here just in case
|
||||||
return ((rear + size) - front) % size;
|
return ((rear + size) - front) % size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user