diff options
author | Araq <rumpf_a@web.de> | 2014-08-12 10:11:58 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-12 10:11:58 +0200 |
commit | 4d863ebb5e0dfc2531837925199a5d9cd6cdaab8 (patch) | |
tree | 2dd8dcf6a73447b074a9c615ecd37ed81c8b7c1c /lib/pure/ropes.nim | |
parent | d1300de5e6ebcca1ef0a6fb0655160c2694f9571 (diff) | |
download | Nim-4d863ebb5e0dfc2531837925199a5d9cd6cdaab8.tar.gz |
fix failed tests due to gcsafe
Diffstat (limited to 'lib/pure/ropes.nim')
-rw-r--r-- | lib/pure/ropes.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/ropes.nim b/lib/pure/ropes.nim index 4a6c3f530..eb3792bce 100644 --- a/lib/pure/ropes.nim +++ b/lib/pure/ropes.nim @@ -58,8 +58,8 @@ proc newRope(data: string): PRope = result.data = data var - cache: PRope # the root of the cache tree - N: PRope # dummy rope needed for splay algorithm + cache {.threadvar.}: PRope # the root of the cache tree + N {.threadvar.}: PRope # dummy rope needed for splay algorithm when countCacheMisses: var misses, hits: int |