Skip to content

Commit

Permalink
remove @static
Browse files Browse the repository at this point in the history
  • Loading branch information
jw3126 committed Jun 25, 2021
1 parent f1a33d4 commit c2cc6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backwards_compatibility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end
end
end

@static if :ninitialized in fieldnames(DataType)
if :ninitialized in fieldnames(DataType)
# https://github.com/JuliaIO/JLD2.jl/issues/327
function ninitialized(@nospecialize(T::Type))::Int
T.ninitialized
Expand Down

0 comments on commit c2cc6de

Please sign in to comment.