mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -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) :
|
||||
m_highest(0.0),
|
||||
m_threads(threads),
|
||||
m_threads(0),
|
||||
m_timer(nullptr)
|
||||
{
|
||||
set_threads(threads);
|
||||
|
||||
Reference in New Issue
Block a user