diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/sysstr.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/sysstr.nim b/lib/system/sysstr.nim index a8d91b39c..90201202c 100644 --- a/lib/system/sysstr.nim +++ b/lib/system/sysstr.nim @@ -95,7 +95,8 @@ proc cstrToNimstr(str: cstring): NimString {.compilerRtl.} = if str == nil: NimString(nil) else: toNimStr(str, str.len) -template wasMoved(x: NimString): bool = (x.reserved and seqShallowFlag) != 0 +template wasMoved(x: NimString): bool = false +# (x.reserved and seqShallowFlag) != 0 proc copyString(src: NimString): NimString {.compilerRtl.} = if src != nil: |