am 6ef68b55
: Merge "System/core: Use memmove"
* commit '6ef68b55b77b199fdcef2822750a392e1d0a4b04': System/core: Use memmove
This commit is contained in:
commit
de5fdd6773
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ bool String8::removeAll(const char* other) {
|
|||
next = len;
|
||||
}
|
||||
|
||||
memcpy(buf + tail, buf + index + skip, next - index - skip);
|
||||
memmove(buf + tail, buf + index + skip, next - index - skip);
|
||||
tail += next - index - skip;
|
||||
index = next;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue