summary refs log tree commit diff stats
path: root/lib/system/alloc.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-02-08 14:55:30 +0100
committerAraq <rumpf_a@web.de>2017-02-08 14:55:30 +0100
commit346ea6d1719e91d211d3f39121385ed9f0cc11ab (patch)
tree5b351f19cc92d45a6fe1ecdf0c1a1aadab98eb7f /lib/system/alloc.nim
parent794d36cf31d8f7debc2ede1f7792fdbcc0a1ef5e (diff)
downloadNim-346ea6d1719e91d211d3f39121385ed9f0cc11ab.tar.gz
system.nim: don't use deprecated symbols/constructs
Diffstat (limited to 'lib/system/alloc.nim')
-rw-r--r--lib/system/alloc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim
index 065b13460..a124d7537 100644
--- a/lib/system/alloc.nim
+++ b/lib/system/alloc.nim
@@ -748,7 +748,7 @@ proc getOccupiedMem(a: MemRegion): int {.inline.} =
 
 # ---------------------- thread memory region -------------------------------
 
-template instantiateForRegion(allocator: expr) =
+template instantiateForRegion(allocator: untyped) =
   when defined(fulldebug):
     proc interiorAllocatedPtr*(p: pointer): pointer =
       result = interiorAllocatedPtr(allocator, p)