[ox] Cleanup

This commit is contained in:
2024-04-18 23:32:54 -05:00
parent 3b8d13dce3
commit 922323833c
15 changed files with 103 additions and 99 deletions

View File

@@ -48,7 +48,7 @@ FileAddress &FileAddress::operator=(const FileAddress &other) noexcept {
if (other.m_data.path) {
auto strSize = ox::strlen(other.m_data.path) + 1;
m_data.path = new char[strSize];
ox_memcpy(m_data.path, other.m_data.path, strSize);
ox::memcpy(m_data.path, other.m_data.path, strSize);
} else {
m_data.constPath = "";
m_type = FileAddressType::ConstPath;