Fix incorrect usage of platform specific function
This commit is contained in:
parent
d2f6e26d43
commit
04fcbecc43
@ -567,7 +567,7 @@ bool istring::operator!=(const string_view& rhs) const {
|
||||
}
|
||||
|
||||
size_t istring::copy(char* dest, size_t count, size_t pos) const {
|
||||
mtl_hybridcpy(dest, m_str + pos, count);
|
||||
mtl::memcpy(dest, m_str + pos, count);
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ size_t string_view::copy(char* dest, size_t count, size_t pos) const {
|
||||
count = m_size - pos;
|
||||
}
|
||||
|
||||
mtl_hybridcpy(dest, m_str + pos, count);
|
||||
mtl::memcpy(dest, m_str + pos, count);
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user