Skip to content

Commit 88efafb

Browse files
authored
Merge pull request #905 from JamesWrigley/v0.18.19
Backport invalidation fixes to 0.18.19
2 parents 5156e74 + 91a76c9 commit 88efafb

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DataStructures"
22
uuid = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
3-
version = "0.18.18"
3+
version = "0.18.19"
44

55
[deps]
66
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

src/accumulator.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ Base.setindex!(ct::Accumulator, x, v) = setindex!(ct.map, x, v)
5555

5656
Base.haskey(ct::Accumulator, x) = haskey(ct.map, x)
5757

58-
Base.keys(ct::Accumulator) = keys(ct.map)
59-
6058
Base.values(ct::Accumulator) = values(ct.map)
6159

6260
Base.sum(ct::Accumulator) = sum(values(ct.map))

src/circular_buffer.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,13 @@ Return the number of elements currently in the buffer.
154154
"""
155155
Base.length(cb::CircularBuffer) = cb.length
156156

157-
Base.eltype(::Type{CircularBuffer{T}}) where T = T
158-
159157
"""
160158
size(cb::CircularBuffer)
161159
162160
Return a tuple with the size of the buffer.
163161
"""
164162
Base.size(cb::CircularBuffer) = (length(cb),)
165163

166-
Base.convert(::Type{Array}, cb::CircularBuffer{T}) where {T} = T[x for x in cb]
167-
168164
"""
169165
isempty(cb::CircularBuffer)
170166

0 commit comments

Comments
 (0)