mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Replace Memory::Copy with std::copy
This commit is contained in:
@@ -31,7 +31,7 @@ utf8 * IStream::ReadString()
|
||||
result.push_back(0);
|
||||
|
||||
utf8 * resultString = Memory::AllocateArray<utf8>(result.size());
|
||||
Memory::CopyArray(resultString, result.data(), result.size());
|
||||
std::copy(result.begin(), result.end(), resultString);
|
||||
return resultString;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user