1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-13 18:12:50 -05:00

Merge xmrig v6.15.3 into master

This commit is contained in:
MoneroOcean
2021-11-01 16:46:52 +00:00
37 changed files with 3117 additions and 2744 deletions

View File

@@ -322,6 +322,14 @@ xmrig::CnHash::CnHash()
}
xmrig::CnHash::~CnHash()
{
for (auto const& x : m_map) {
delete m_map[x.first];
}
}
xmrig::cn_hash_fun xmrig::CnHash::fn(const Algorithm &algorithm, AlgoVariant av, Assembly::Id assembly)
{
assert(cnHash.m_map.count(algorithm));