From e29dc5f8775fcffa13ff19cc6d170c99499612a7 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Thu, 21 Feb 2019 16:02:33 -0800 Subject: [PATCH] Fixed namespace usage --- src/workers/Benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] = {