Skip to content

Commit

Permalink
fixing compatibility with Julia 1.7. (#56)
Browse files Browse the repository at this point in the history
Closes #55.
  • Loading branch information
rvasil authored Sep 22, 2021
1 parent e7d7ef0 commit 4c3a69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlatBuffers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Int8, Int16, Int32, Int64,
UInt8, UInt16, UInt32, UInt64,
Float32, Float64}

isstruct(T) = isconcretetype(T) && !T.mutable
isstruct(T) = isconcretetype(T) && !ismutabletype(T)
isbitstype(T) = fieldcount(T) == 0
isunionwithnothing(T) = T isa Union && T.a == Nothing && !(isa(T.b, Union))

Expand Down

0 comments on commit 4c3a69d

Please sign in to comment.