From d81186f9278ea70882ae7487ac60fe9455ecaa15 Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Tue, 4 Feb 2025 17:14:33 +0100 Subject: [PATCH] Fix dynamic dispatch in Deque --- src/DataStructures.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DataStructures.jl b/src/DataStructures.jl index 552aff4f..8294765e 100644 --- a/src/DataStructures.jl +++ b/src/DataStructures.jl @@ -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