summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/core/allocators.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/allocators.nim b/lib/core/allocators.nim
index 4edd00f36..62f5e9756 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.}