Switched from value to reference in switch_algo xmrig::Algorithm param
This commit is contained in:
parent
684feb38fd
commit
2ceb9c8749
2 changed files with 2 additions and 2 deletions
|
@ -213,7 +213,7 @@ void Workers::soft_stop() // stop current workers leaving uv stuff intact (used
|
|||
}
|
||||
|
||||
// setups workers based on specified algorithm (or its basic perf algo more specifically)
|
||||
void Workers::switch_algo(const xmrig::Algorithm algorithm)
|
||||
void Workers::switch_algo(const xmrig::Algorithm& algorithm)
|
||||
{
|
||||
if (m_status.algo == algorithm.algo()) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue