Fixed compilation withut randomx/argon2

This commit is contained in:
SChernykh 2020-03-06 07:22:57 +01:00
parent eeadea53e2
commit 05dc9821c5

View file

@ -166,7 +166,7 @@ size_t xmrig::Algorithm::l2() const
size_t xmrig::Algorithm::l3() const size_t xmrig::Algorithm::l3() const
{ {
# if defined(XMRIG_ALGO_RANDOMX) || defined(XMRIG_ALGO_ARGON2) # if defined(XMRIG_ALGO_RANDOMX) || defined(XMRIG_ALGO_ARGON2) || defined(XMRIG_ALGO_ASTROBWT)
constexpr size_t oneMiB = 0x100000; constexpr size_t oneMiB = 0x100000;
# endif # endif