deprecated system.copy: use system.substr instead
This commit is contained in:
parent
32241aa9fe
commit
3e9dcc8be5
31 changed files with 122 additions and 109 deletions
|
|
@ -216,7 +216,7 @@ proc LLStreamReadAll(s: PLLStream): string =
|
|||
result = ""
|
||||
of llsString:
|
||||
if s.rd == 0: result = s.s
|
||||
else: result = copy(s.s, s.rd + 0)
|
||||
else: result = substr(s.s, s.rd)
|
||||
s.rd = len(s.s)
|
||||
of llsFile:
|
||||
result = newString(bufSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue