Skip to content

Commit 2499f85

Browse files
committed
Fix deprecated syntax for inner constructor of SortedVector
1 parent 7fc13ad commit 2499f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SortedVectors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ immutable SortedVector{T, F<:Function}
1212
data::Vector{T}
1313
by::F
1414

15-
function SortedVector(data::Vector{T}, by::F)
15+
function SortedVector{T,F}(data::Vector{T}, by::F) where {T,F}
1616
new(sort(data), by)
1717
end
1818
end

0 commit comments

Comments
 (0)