Implemented stable algorithm ids.

This commit is contained in:
XMRig 2021-08-11 03:46:34 +07:00
parent d0a632f557
commit e6332eff2b
No known key found for this signature in database
GPG key ID: 446A53638BE94409
21 changed files with 6349 additions and 6480 deletions

View file

@ -309,7 +309,7 @@ xmrig::CpuThreads xmrig::BasicCpuInfo::threads(const Algorithm &algorithm, uint3
return 1;
}
Algorithm::Family f = algorithm.family();
const auto f = algorithm.family();
# ifdef XMRIG_ALGO_CN_LITE
if (f == Algorithm::CN_LITE) {