Skip to content

Commit

Permalink
use parametric type
Browse files Browse the repository at this point in the history
  • Loading branch information
hdavid16 authored Jul 9, 2023
1 parent c3ba26d commit 1123ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/stores.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ struct StorePutKey{T, N<:Number} <: ResourceKey
StorePutKey{T}(priority, id, item) where T = new(priority, id, item)
end

struct StoreGetKey <: ResourceKey
priority :: Number
struct StoreGetKey{N<:Number} <: ResourceKey
priority :: N
id :: UInt
filter :: Function
end
Expand Down

0 comments on commit 1123ccc

Please sign in to comment.