Seg fault fix
This commit is contained in:
parent
ca7951c90f
commit
f462571dfd
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ inline static const char *format(double h, char *buf, size_t size)
|
||||||
|
|
||||||
Hashrate::Hashrate(size_t threads, xmrig::Controller *controller) :
|
Hashrate::Hashrate(size_t threads, xmrig::Controller *controller) :
|
||||||
m_highest(0.0),
|
m_highest(0.0),
|
||||||
m_threads(threads),
|
m_threads(0),
|
||||||
m_timer(nullptr)
|
m_timer(nullptr)
|
||||||
{
|
{
|
||||||
set_threads(threads);
|
set_threads(threads);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue