Fixed warning about slice assignment
This commit is contained in:
parent
593eaaed74
commit
da64d9e5c2
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ final class Reader
|
|||
try for(size_t c = 0; chars && !decoder_.done;)
|
||||
{
|
||||
const slice = decoder_.getDChars(chars);
|
||||
buffer_[oldLength + c .. oldLength + c + slice.length] = slice;
|
||||
buffer_[oldLength + c .. oldLength + c + slice.length] = slice[];
|
||||
c += slice.length;
|
||||
chars -= slice.length;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue