Skip to content

Commit

Permalink
0.6 depwarns
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Jun 15, 2017
1 parent d1de8a3 commit 7a55ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
julia 0.5
julia 0.6-
Juno 0.2.6
Lazy 0.11.3
LNR
Expand Down
3 changes: 2 additions & 1 deletion src/profiler/tree.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
type Tree{T}
head::T
children::Vector{Tree{T}}
Tree(x::T, children = Tree{T}[]) = new(x, children)
Tree{T}(x::T, children = Tree{T}[]) where T =
new{T}(x, children)
end

Tree(x, children = []) = Tree{typeof(x)}(x, children)
Expand Down

0 comments on commit 7a55ded

Please sign in to comment.