Skip to content

Commit 7c43b17

Browse files
committed
fix convert
1 parent f2575c0 commit 7c43b17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/fallbacks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ Base.convert(T::Type, ::AbstractGeometryTrait, geom) = error("Conversion is enab
115115
# Packages must implement their own `traittype` method
116116
# that accepts a GeoInterface.jl trait and returns the
117117
# corresponding geometry type
118-
convert(package::Module, geom) = convert(Val{nameof(package)}(), geom)
119-
function convert(package::Val, geom)
118+
function convert(package::Module, geom)
120119
t = trait(geom)
121120
convert(package.traittype(t), t, geom)
122121
end

0 commit comments

Comments
 (0)