Fix compile issues on some compilers

This commit is contained in:
Ben Gräf 2019-02-02 08:27:01 +01:00
parent da52ab2702
commit 8c544aa08c

View file

@ -22,6 +22,7 @@
*/ */
#include <algorithm>
#include <memory.h> #include <memory.h>
#include "crypto/CryptoNight.h" #include "crypto/CryptoNight.h"
@ -89,4 +90,4 @@ void Mem::release(ScratchPad** scratchPads, ScratchPadMem& scratchPadMem, int th
for (size_t i = 0; i < getThreadHashFactor(threadId); ++i) { for (size_t i = 0; i < getThreadHashFactor(threadId); ++i) {
_mm_free(scratchPads[i]); _mm_free(scratchPads[i]);
} }
} }