Fix hashing of Actor and Facet
This commit is contained in:
parent
4fe2173d81
commit
289754499c
|
@ -177,10 +177,10 @@ proc attenuate*(r: Cap; a: Attenuation): Cap =
|
|||
attenuation: a & r.attenuation)
|
||||
|
||||
proc hash*(actor): Hash =
|
||||
actor.unsafeAddr.hash
|
||||
result = actor[].unsafeAddr.hash
|
||||
|
||||
proc hash*(facet): Hash =
|
||||
facet.unsafeAddr.hash
|
||||
facet[].unsafeAddr.hash
|
||||
|
||||
proc hash*(r: Cap): Hash = !$(r.relay.hash !& r.target.unsafeAddr.hash)
|
||||
|
||||
|
|
Loading…
Reference in New Issue