Skip to content

Commit

Permalink
Remove unused definitions from src/structarrays.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Nov 7, 2019
1 parent e6a8af1 commit 4535a3c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/structarrays.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
push!!(xs::StructArrays.StructVector, ys...) = append!!(xs, ys)
append!!(xs::StructArrays.StructVector, ys) =
StructArrays.grow_to_structarray!(xs, ys)
append!!(::StructArrays.StructVector{T}, ys) where {
T <: Union{Tuple{}, NamedTuple{(), Tuple{}}}
} =
StructArrays.StructVector(ys isa AbstractArray ? ys : collect(ys))

NoBang.push(xs::StructArrays.StructVector, ys...) = append(xs, ys)
NoBang.append(xs::StructArrays.StructVector, ys) = append!!(copy(xs), ys)

0 comments on commit 4535a3c

Please sign in to comment.