fix: compilation

This commit is contained in:
Jan committed 2025-01-08 17:39:34 +00:00
1 parent 3b5ca86b0d
commit 54e240e98c
6 files changed
+3 -6

No files matched your search

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