1
0
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:
Ted John
2018-02-01 12:52:39 +00:00
parent bb8b6a3f68
commit 0c71855769
19 changed files with 72 additions and 85 deletions

View File

@@ -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;
}