Moved benchmark config save flag to the benchmark class

This commit is contained in:
MoneroOcean 2018-08-06 10:58:35 +02:00
parent 67ed81f1ec
commit feeb226507
5 changed files with 10 additions and 11 deletions

View file

@ -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;
}