Skip to content

Commit 8d82e2a

Browse files
committed
AbstractLock undefined on 1.10
1 parent e5a5fcf commit 8d82e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Utils/Utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,11 @@ end
312312
"""
313313
Compat for `Base.Lockable` (introduced in Julia 1.11)
314314
"""
315-
struct Lockable{T, L<:AbstractLock}
315+
struct Lockable{T,L}
316316
value::T
317317
lock::L
318318
end
319-
319+
320320
Lockable(value) = Lockable(value, ReentrantLock())
321321

322322
function Base.lock(f, l::Lockable)

0 commit comments

Comments
 (0)