summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-04-01 17:45:23 +0200
committerAraq <rumpf_a@web.de>2019-04-01 17:45:23 +0200
commit0f0cc9e6eba7ce867d6a1858c8b3b154c95eff71 (patch)
treee23b994a59cae923863ef29474ba3e93ec4201c1
parent204ecfc817e135113f8a00455f56944f9a39bab1 (diff)
downloadNim-0f0cc9e6eba7ce867d6a1858c8b3b154c95eff71.tar.gz
see what appveyor thinks about this
-rw-r--r--lib/pure/strtabs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/strtabs.nim b/lib/pure/strtabs.nim
index f158bb2fc..269fe11f7 100644
--- a/lib/pure/strtabs.nim
+++ b/lib/pure/strtabs.nim
@@ -247,7 +247,7 @@ proc `[]=`*(t: StringTableRef, key, val: string) {.
     rawInsert(t, t.data, key, val)
     inc(t.counter)
 
-proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
+proc newStringTable*(mode: StringTableMode): owned(StringTableRef) {.
   rtlFunc, extern: "nst$1".} =
   ## Creates a new empty string table.
   ##
@@ -260,7 +260,7 @@ proc newStringTable*(mode: StringTableMode): owned StringTableRef {.
   newSeq(result.data, startSize)
 
 proc newStringTable*(keyValuePairs: varargs[string],
-                     mode: StringTableMode): owned StringTableRef {.
+                     mode: StringTableMode): owned(StringTableRef) {.
   rtlFunc, extern: "nst$1WithPairs".} =
   ## Creates a new string table with given `key, value` string pairs.
   ##