Fixed Linux build.

This commit is contained in:
XMRig 2019-10-07 13:37:12 +07:00
parent 68d77b02d7
commit 0e0a26f644
3 changed files with 3 additions and 2 deletions

View file

@ -28,6 +28,7 @@
#define XMRIG_IMEMORYPOOL_H
#include <cstddef>
#include <cstdint>

View file

@ -62,7 +62,7 @@ xmrig::CpuWorker<N>::CpuWorker(size_t id, const CpuLaunchData &data) :
m_miner(data.miner),
m_ctx()
{
m_memory = new VirtualMemory(m_algorithm.l3() * N, data.hugePages, true);
m_memory = new VirtualMemory(m_algorithm.l3() * N, data.hugePages, true, m_node);
}