Code cleanup.
This commit is contained in:
parent
5999dccd57
commit
0fa5db8fa3
2 changed files with 14 additions and 4 deletions
|
@ -400,6 +400,10 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
|
|||
|
||||
void xmrig::HwlocCpuInfo::setThreads(size_t threads)
|
||||
{
|
||||
if (!threads) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_threads = threads;
|
||||
|
||||
if (m_units.size() != m_threads) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue