[ox] Cleanup
This commit is contained in:
@@ -46,7 +46,7 @@ FileAddress &FileAddress::operator=(const FileAddress &other) noexcept {
|
||||
case FileAddressType::Path:
|
||||
{
|
||||
if (other.m_data.path) {
|
||||
auto strSize = ox_strlen(other.m_data.path) + 1;
|
||||
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);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user