From b31151f68ea47a38fc8f5b65d51b23c12c591a3f Mon Sep 17 00:00:00 2001 From: Dmitry Atamanov Date: Tue, 9 Jan 2018 13:22:29 +0300 Subject: [PATCH] New runtime: fix allocator inheritable (#7046) --- lib/core/allocators.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/allocators.nim b/lib/core/allocators.nim index 4edd00f369..62f5e9756b 100644 --- a/lib/core/allocators.nim +++ b/lib/core/allocators.nim @@ -8,7 +8,7 @@ # type - Allocator* {.inheritable.} = ptr object + Allocator* = ptr object {.inheritable.} alloc*: proc (a: Allocator; size: int; alignment: int = 8): pointer {.nimcall.} dealloc*: proc (a: Allocator; p: pointer; size: int) {.nimcall.} realloc*: proc (a: Allocator; p: pointer; oldSize, newSize: int): pointer {.nimcall.}