mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 16:52:40 -05:00
Moved benchmark config save flag to the benchmark class
This commit is contained in:
@@ -46,7 +46,6 @@ static char affinity_tmp[20] = { 0 };
|
||||
|
||||
|
||||
xmrig::Config::Config() : xmrig::CommonConfig(),
|
||||
m_shouldSave(false),
|
||||
m_aesMode(AES_AUTO),
|
||||
m_algoVariant(AV_AUTO),
|
||||
m_hugePages(true),
|
||||
@@ -350,8 +349,6 @@ void xmrig::Config::parseJSON(const rapidjson::Document &doc)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (m_algo_perf[xmrig::PA_CN] == 0.0f) m_shouldSave = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user