Removed m_bench field from Job class.

This commit is contained in:
XMRig
2020-10-16 20:29:11 +07:00
parent 572616f3d2
commit 14892cf040
19 changed files with 44 additions and 68 deletions

View File

@@ -112,7 +112,7 @@ void xmrig::Workers<T>::start(const std::vector<T> &data)
{
# ifdef XMRIG_FEATURE_BENCHMARK
if (!data.empty()) {
d_ptr->bench = data.front().miner->job().bench();
d_ptr->bench = data.front().benchSize;
d_ptr->benchAlgo = data.front().algorithm;
}
# endif