Index: src/allocation.cc |
diff --git a/src/allocation.cc b/src/allocation.cc |
index 7b7cca19737f3d33ee51c9f17872a2ab7fec5f6a..0549a199ff2ea644ac562eb8035968e58558b183 100644 |
--- a/src/allocation.cc |
+++ b/src/allocation.cc |
@@ -66,7 +66,7 @@ void AllStatic::operator delete(void* p) { |
char* StrDup(const char* str) { |
int length = StrLength(str); |
char* result = NewArray<char>(length + 1); |
- MemCopy(result, str, length); |
+ OS::MemCopy(result, str, length); |
result[length] = '\0'; |
return result; |
} |
@@ -76,7 +76,7 @@ char* StrNDup(const char* str, int n) { |
int length = StrLength(str); |
if (n < length) length = n; |
char* result = NewArray<char>(length + 1); |
- MemCopy(result, str, length); |
+ OS::MemCopy(result, str, length); |
result[length] = '\0'; |
return result; |
} |