Make Platform::hasKeepalive() constexpr where always supported and code cleanup.

This commit is contained in:
XMRig
2023-08-06 20:26:07 +07:00
parent b55ca8e547
commit 2ecf10cdcb
6 changed files with 23 additions and 33 deletions

View File

@@ -70,12 +70,6 @@ char *xmrig::Platform::createUserAgent()
}
bool xmrig::Platform::hasKeepalive()
{
return true;
}
#ifndef XMRIG_FEATURE_HWLOC
#ifdef __DragonFly__