Fixed compile warnings.
This commit is contained in:
parent
f7dcfffdb1
commit
48545c5916
4 changed files with 3 additions and 14 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue