This commit is contained in:
Miha Kralj
2024-09-23 22:10:04 -07:00
parent 58d72c06ca
commit 990c7b4cf0
3 changed files with 6 additions and 3 deletions
+5 -1
View File
@@ -79,7 +79,9 @@ public class CircularBuffer : IEnumerable<double>
public double Oldest()
{
if (_size == 0)
{
ThrowInvalidOperationException();
}
return _buffer[_start];
}
@@ -129,7 +131,9 @@ public class CircularBuffer : IEnumerable<double>
_current = default;
}
public void Dispose() { }
public void Dispose() {
// not implemented
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]