Fix fill with char on older compilers
This commit is contained in:
parent
a6a6f496eb
commit
85d9361bfb
@ -928,7 +928,10 @@ struct String
|
||||
}
|
||||
body
|
||||
{
|
||||
fill(this.data[i .. j], value);
|
||||
for (auto p = this.data + i; p < this.data + j; ++p)
|
||||
{
|
||||
*p = value;
|
||||
}
|
||||
return opSlice(i, j);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user