Fix incorrect usage of platform specific function

This commit is contained in:
Madeline Busig 2024-03-27 00:30:45 -06:00
parent d2f6e26d43
commit 04fcbecc43
2 changed files with 2 additions and 2 deletions

View File

@ -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 { 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; return count;
} }

View File

@ -14,7 +14,7 @@ size_t string_view::copy(char* dest, size_t count, size_t pos) const {
count = m_size - pos; count = m_size - pos;
} }
mtl_hybridcpy(dest, m_str + pos, count); mtl::memcpy(dest, m_str + pos, count);
return count; return count;
} }