Fixed compile warnings.

This commit is contained in:
XMRig 2019-10-22 13:09:58 +07:00
parent f7dcfffdb1
commit 48545c5916
4 changed files with 3 additions and 14 deletions

View file

@ -34,15 +34,6 @@
#include <algorithm>
namespace xmrig {
constexpr size_t pageSize = 2 * 1024 * 1024;
} // namespace xmrig
xmrig::NUMAMemoryPool::NUMAMemoryPool(size_t size, bool hugePages) :
m_hugePages(hugePages),
m_nodeSize(std::max<size_t>(size / Cpu::info()->nodes(), 1)),