mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
fix: compilation
This commit is contained in:
parent
3b5ca86b0d
commit
54e240e98c
@ -6,7 +6,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace IW3;
|
using namespace IW3;
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace IW4;
|
using namespace IW4;
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace IW5;
|
using namespace IW5;
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace T5;
|
using namespace T5;
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#include "Utils/ObjStream.h"
|
#include "Utils/ObjStream.h"
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
class MockFileBuffer final : public std::streambuf
|
class MockFileBuffer final : public std::streambuf
|
||||||
@ -37,7 +39,7 @@ namespace
|
|||||||
|
|
||||||
if (overrideCount > 0)
|
if (overrideCount > 0)
|
||||||
{
|
{
|
||||||
memcpy(&m_data[m_pos], ptr, overrideCount);
|
std::memcpy(&m_data[m_pos], ptr, overrideCount);
|
||||||
m_pos += overrideCount;
|
m_pos += overrideCount;
|
||||||
ptr += overrideCount;
|
ptr += overrideCount;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user