Fix compile warning, mostly struct/class inconsistency.

This commit is contained in:
XMRig
2019-09-13 18:21:05 +07:00
parent 97ac9f4d22
commit a3e66e94cf
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);