fix: compilation

This commit is contained in:
Jan
2025-01-08 00:05:20 +01:00
parent 3b5ca86b0d
commit 54e240e98c
6 changed files with 3 additions and 6 deletions

View File

@ -2,6 +2,8 @@
#include "Utils/ObjStream.h"
#include <cstring>
namespace
{
class MockFileBuffer final : public std::streambuf
@ -37,7 +39,7 @@ namespace
if (overrideCount > 0)
{
memcpy(&m_data[m_pos], ptr, overrideCount);
std::memcpy(&m_data[m_pos], ptr, overrideCount);
m_pos += overrideCount;
ptr += overrideCount;
}