From acbe30e9ca1e51dcbbfe4c552ee6f16c7eede538 Mon Sep 17 00:00:00 2001 From: Tanguy Date: Mon, 24 Oct 2022 13:29:13 +0200 Subject: [PATCH] Fix compilation on nim devel (#130) --- websock/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websock/types.nim b/websock/types.nim index 13def98..a7f8dbf 100644 --- a/websock/types.nim +++ b/websock/types.nim @@ -210,5 +210,5 @@ method decode*(self: Ext, frame: Frame): Future[Frame] {.base, async.} = method encode*(self: Ext, frame: Frame): Future[Frame] {.base, async.} = raiseAssert "Not implemented!" -method toHttpOptions*(self: Ext): string {.base.} = +method toHttpOptions*(self: Ext): string {.base, gcsafe.} = raiseAssert "Not implemented!"