Fix FIFO for real. :)

This commit is contained in:
Philippe PITTOLI 2024-05-25 02:33:32 +02:00
parent 54676448b8
commit 9e1a633f97

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