diff --git a/Sources/NIO/CircularBuffer.swift b/Sources/NIO/CircularBuffer.swift index 33ef9c15dd..6213492c1f 100644 --- a/Sources/NIO/CircularBuffer.swift +++ b/Sources/NIO/CircularBuffer.swift @@ -80,9 +80,8 @@ public struct CircularBuffer: CustomStringConvertible { // if we can, we store the check for the backing here self._backingCheck = backingCount < Int(_UInt24.max) ? _UInt24(UInt32(backingCount)) : .max } - assert(MemoryLayout.size(ofValue: self) == MemoryLayout.size) } - + @inlinable public static func < (lhs: Index, rhs: Index) -> Bool { if lhs.isIndexGEQHeadIndex && rhs.isIndexGEQHeadIndex {