mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
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<>
|
||||
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);
|
||||
if (!func) {
|
||||
|
@ -214,6 +216,8 @@ bool xmrig::MultiWorker<1>::verify2(const Algorithm &algorithm, const uint8_t *r
|
|||
return true;
|
||||
}
|
||||
|
||||
} // namespace xmrig
|
||||
|
||||
|
||||
template<size_t N>
|
||||
void xmrig::MultiWorker<N>::consumeJob()
|
||||
|
@ -269,5 +273,5 @@ template class MultiWorker<3>;
|
|||
template class MultiWorker<4>;
|
||||
template class MultiWorker<5>;
|
||||
|
||||
}
|
||||
} // namespace xmrig
|
||||
|
||||
|
|
Loading…
Reference in a new issue