Fix FIFO for real. :)

toying-with-ramdb
Philippe PITTOLI 2024-05-25 02:33:32 +02:00
parent 54676448b8
commit 9e1a633f97
1 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,6 @@ class FIFO(V)
# Removes a value.
def delete(v : V)
@data.select! { |x| v != v }
@data.select! { |x| v != x }
end
end