diff --git a/src/string.cpp b/src/string.cpp index d1ba8ae..dfe9a2a 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -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; } diff --git a/src/string_view.cpp b/src/string_view.cpp index 0ddb293..072ff70 100644 --- a/src/string_view.cpp +++ b/src/string_view.cpp @@ -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; }