Skip to content

Commit

Permalink
Update src/little_set.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Max Horn <max@quendi.de>
  • Loading branch information
Tokazama and fingolfin authored Dec 28, 2024
1 parent cd51b5c commit a46d7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/little_set.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ end
# `FrozenLittleSet{T, Tuple{Vararg{T}}}`), these methods allow accessing data without exposing the
# underlying `data` field and unintentionally specializing downstream code on the exact type
# representation of a tuple.
if isdefined(Base, Symbol("@assume_effects"))
@static if isdefined(Base, Symbol("@assume_effects"))
Base.@assume_effects :nothrow function unsafe_getstate(x::FrozenLittleSet, state::Int)
getfield(getfield(x, :data), state)
end
Expand Down

0 comments on commit a46d7e7

Please sign in to comment.