mirror of
https://github.com/xmrig/xmrig.git
synced 2026-04-21 06:06:31 -04:00
Fixed compile warnings.
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user