Fix FIFO for real. :)
This commit is contained in:
parent
54676448b8
commit
9e1a633f97
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user