Make Process::location static.

This commit is contained in:
XMRig 2019-12-22 13:26:06 +07:00
parent c44ae06d54
commit bdf12bca0f
No known key found for this signature in database
GPG key ID: 446A53638BE94409
4 changed files with 13 additions and 7 deletions

View file

@ -101,9 +101,9 @@ static int showVersion()
#ifdef XMRIG_FEATURE_HWLOC
static int exportTopology(const Process &process)
static int exportTopology(const Process &)
{
const String path = process.location(Process::ExeLocation, "topology.xml");
const String path = Process::location(Process::ExeLocation, "topology.xml");
hwloc_topology_t topology;
hwloc_topology_init(&topology);