diff --git a/src/workers/Benchmark.cpp b/src/workers/Benchmark.cpp index 1b3d69dd..fbfb29b7 100644 --- a/src/workers/Benchmark.cpp +++ b/src/workers/Benchmark.cpp @@ -34,7 +34,7 @@ void Benchmark::start_perf_bench(const xmrig::PerfAlgo pa) { Workers::switch_algo(xmrig::Algorithm(pa)); // switch workers to new algo (Algo part) // prepare test job for benchmark runs - Job job; + xmrig::Job job; job.setPoolId(-100); // to make sure we can detect benchmark jobs job.setId(xmrig::Algorithm::perfAlgoName(pa)); // need to set different id so that workers will see job change const static uint8_t test_input[76] = {