mirror of https://github.com/xfarrow/lasd.git
Library 2
This commit is contained in:
parent
67c0f1c0d5
commit
69489dac81
|
@ -140,7 +140,7 @@ bool QueueVec<Data>::Empty() const noexcept{
|
|||
|
||||
template <typename Data>
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue