Skip to content

Commit

Permalink
remove unbound type parameter
Browse files Browse the repository at this point in the history
Unbound type parameters often cause performance issues and run time
dispatch.

Issue found using JuliaLang/julia#46608
  • Loading branch information
nsajko authored and jkrumbiegel committed Oct 1, 2022
1 parent 42bda73 commit 0ef92fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layoutobservables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function LayoutObservables(width::Observable, height::Observable,
suggestedbbox = nothing,
protrusions = nothing,
gridcontent = nothing,
block_updates::Bool = false) where T
block_updates::Bool = false)

width_obs = convert(Observable{SizeAttribute}, width)
height_obs = convert(Observable{SizeAttribute}, height)
Expand Down

0 comments on commit 0ef92fa

Please sign in to comment.