Skip to content

Commit

Permalink
Fix dynamic dispatch in Deque
Browse files Browse the repository at this point in the history
  • Loading branch information
Mellich-2 committed Feb 4, 2025
1 parent 45f9985 commit d81186f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ module DataStructures
include("deprecations.jl")

@static if VERSION <= v"1.3"
_unsetindex!(a, i) = a
const _unsetindex!(a, i) = a
else
_unsetindex! = Base._unsetindex!
const _unsetindex! = Base._unsetindex!
end
end

0 comments on commit d81186f

Please sign in to comment.