mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-14 21:07:26 +00:00
make it compile with gcsafe
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
2eef69f3e7
commit
dcdef89401
@ -62,7 +62,8 @@ proc newFakeDatagramTransport*[T](cbproc: DatagramCallback,
|
||||
GC_ref(udata)
|
||||
result.udata = cast[pointer](udata)
|
||||
result.local = local
|
||||
network[local] = result
|
||||
{.gcsafe.}:
|
||||
network[local] = result
|
||||
|
||||
|
||||
type
|
||||
|
Loading…
x
Reference in New Issue
Block a user