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

@ -41,8 +41,7 @@ constexpr size_t pageSize = 2 * 1024 * 1024;
} // namespace xmrig
xmrig::MemoryPool::MemoryPool(size_t size, bool hugePages, uint32_t node) :
m_size(size)
xmrig::MemoryPool::MemoryPool(size_t size, bool hugePages, uint32_t node)
{
if (!size) {
return;