Skip to content

Commit

Permalink
Minor change to get!
Browse files Browse the repository at this point in the history
  • Loading branch information
andyferris committed Aug 4, 2020
1 parent 9c9ab17 commit 9823fda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Dictionary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,9 @@ end
isinsertable(::Dictionary) = true

function gettoken!(dict::Dictionary{I}, i::I) where {I}
(hadtoken, (slot, index)) = gettoken!(keys(dict), i, (_values(dict),))
return (hadtoken, (slot, index))
return gettoken!(keys(dict), i, (_values(dict),))
#(hadtoken, (slot, index)) = gettoken!(keys(dict), i, (_values(dict),))
#return (hadtoken, (slot, index))
end

function deletetoken!(dict::Dictionary{I, T}, (slot, index)) where {I, T}
Expand Down

0 comments on commit 9823fda

Please sign in to comment.