Seg fault fix

This commit is contained in:
MoneroOcean 2019-06-18 12:18:02 -07:00
parent ca7951c90f
commit f462571dfd

View file

@ -50,7 +50,7 @@ inline static const char *format(double h, char *buf, size_t size)
Hashrate::Hashrate(size_t threads, xmrig::Controller *controller) :
m_highest(0.0),
m_threads(threads),
m_threads(0),
m_timer(nullptr)
{
set_threads(threads);