Added BenchStatePrivate class.

This commit is contained in:
XMRig 2020-11-24 17:59:40 +07:00
parent 05a2054057
commit 09b68f3cdb
No known key found for this signature in database
GPG key ID: 446A53638BE94409
3 changed files with 63 additions and 37 deletions

View file

@ -51,8 +51,7 @@ xmrig::BenchClient::BenchClient(const std::shared_ptr<BenchConfig> &benchmark, I
blob[Job::kMaxSeedSize * 2] = '\0';
m_job.setSeedHash(blob.data());
BenchState::setListener(this);
BenchState::setSize(m_benchmark->size());
BenchState::init(this, m_benchmark->size());
# ifdef XMRIG_FEATURE_HTTP
if (m_benchmark->isSubmit()) {