mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-02 02:03:03 -05:00
Seg fault fix
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user