mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Fixed build on Linux.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user