Fixed build on Linux.
This commit is contained in:
parent
1f0e3e501c
commit
088587fa72
1 changed files with 6 additions and 2 deletions
|
@ -195,8 +195,10 @@ bool xmrig::MultiWorker<N>::verify2(const Algorithm &algorithm, const uint8_t *r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
namespace xmrig {
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
bool xmrig::MultiWorker<1>::verify2(const Algorithm &algorithm, const uint8_t *referenceValue)
|
bool MultiWorker<1>::verify2(const Algorithm &algorithm, const uint8_t *referenceValue)
|
||||||
{
|
{
|
||||||
cn_hash_fun func = m_thread->fn(algorithm);
|
cn_hash_fun func = m_thread->fn(algorithm);
|
||||||
if (!func) {
|
if (!func) {
|
||||||
|
@ -214,6 +216,8 @@ bool xmrig::MultiWorker<1>::verify2(const Algorithm &algorithm, const uint8_t *r
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace xmrig
|
||||||
|
|
||||||
|
|
||||||
template<size_t N>
|
template<size_t N>
|
||||||
void xmrig::MultiWorker<N>::consumeJob()
|
void xmrig::MultiWorker<N>::consumeJob()
|
||||||
|
@ -269,5 +273,5 @@ template class MultiWorker<3>;
|
||||||
template class MultiWorker<4>;
|
template class MultiWorker<4>;
|
||||||
template class MultiWorker<5>;
|
template class MultiWorker<5>;
|
||||||
|
|
||||||
}
|
} // namespace xmrig
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue