Skip to content

Commit

Permalink
update deprecated Array constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Jan 28, 2017
1 parent f26e93f commit 69a9bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BinDeps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ end

type Choices <: BuildStep
choices::Vector{Choice}
Choices() = new(Array(Choice,0))
Choices() = new(Choice[])
Choices(choices::Vector{Choice}) = new(choices)
end

Expand Down
2 changes: 1 addition & 1 deletion src/dependencies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function _library_dependency(context::PackageContext, name; properties...)
group = v
end
end
r = LibraryDependency(name,context,Array(Tuple{DependencyProvider,Dict{Symbol,Any}},0),Array(Tuple{DependencyHelper,Dict{Symbol,Any}},0),Dict{Symbol,Any}(properties),validate)
r = LibraryDependency(name, context, Tuple{DependencyProvider,Dict{Symbol,Any}}[], Tuple{DependencyHelper,Dict{Symbol,Any}}[], Dict{Symbol,Any}(properties), validate)
if group !== nothing
push!(group.deps,r)
else
Expand Down

0 comments on commit 69a9bbb

Please sign in to comment.