diff --git a/Source/Engine/Core/Collections/RingBuffer.h b/Source/Engine/Core/Collections/RingBuffer.h index 8a8deb86f..de5f1224d 100644 --- a/Source/Engine/Core/Collections/RingBuffer.h +++ b/Source/Engine/Core/Collections/RingBuffer.h @@ -69,13 +69,11 @@ public: FORCE_INLINE T& PeekFront() { - ASSERT(_front != _back); return _allocation.Get()[_front]; } FORCE_INLINE const T& PeekFront() const { - ASSERT(_front != _back); return _allocation.Get()[_front]; } @@ -93,7 +91,6 @@ public: void PopFront() { - ASSERT(_front != _back); Memory::DestructItems(_allocation.Get() + _front, 1); _front = (_front + 1) % _capacity; _count--;