Fix compile warning, mostly struct/class inconsistency.

This commit is contained in:
XMRig 2019-09-13 18:21:05 +07:00
parent 66fd532ee6
commit 6f5d175d12
7 changed files with 24 additions and 18 deletions

View file

@ -47,7 +47,7 @@ namespace randomx {
rx_aligned_free(ptr);
}
template class AlignedAllocator<CacheLineSize>;
template struct AlignedAllocator<CacheLineSize>;
void* LargePageAllocator::allocMemory(size_t count) {
return allocLargePagesMemory(count);