summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-01-09 13:06:07 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-01-09 13:06:07 +0100
commitaff787db69ed67f54d72e9caa43e556a9d0e2674 (patch)
tree724cba40a47bd89d503bccd1074e9c2fcfbbfc66 /lib
parent849664744bf2272d579af0a1718d5ee0f09a2233 (diff)
parentb31151f68ea47a38fc8f5b65d51b23c12c591a3f (diff)
downloadNim-aff787db69ed67f54d72e9caa43e556a9d0e2674.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
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.}