Skip to content

Commit 4914de4

Browse files
ararslanfredrikekre
authored andcommitted
Remove overwriting empty vector constructor (#24710)
This constructor overwrites what was added in #24652. As long as memory is uninitialized (rather than zeroed) by default, these constructors do the same thing. Removing this constructor fixes a method overwritten warning during the build.
1 parent d3cab22 commit 4914de4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

base/sysimg.jl

-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ Array{T}(d::Integer...) where {T} = Array{T}(convert(Tuple{Vararg{Int}}, d))
158158
# dimensionality but not type specified, accepting dims as series of Integers
159159
Vector(m::Integer) = Vector{Any}(Int(m))
160160
Matrix(m::Integer, n::Integer) = Matrix{Any}(Int(m), Int(n))
161-
# empty vector constructor
162-
Vector() = Vector{Any}(0)
163161

164162

165163
include("associative.jl")

0 commit comments

Comments
 (0)