Fix FIFO for real. :)
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