Transform affinity and av to internal representation.

This commit is contained in:
XMRig 2018-04-02 14:05:16 +07:00
parent a042cbf885
commit 6c970612bf
5 changed files with 96 additions and 21 deletions

View file

@ -95,9 +95,9 @@ xmrig::CommonConfig::~CommonConfig()
}
const char *xmrig::CommonConfig::algoName() const
const char *xmrig::CommonConfig::algoName(Algo algorithm)
{
return algoNames[m_algorithm];
return algoNames[algorithm];
}