mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
fix: compilation
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user