1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-30 17:12:53 -05:00

Make Process::location static.

This commit is contained in:
XMRig
2019-12-22 13:26:06 +07:00
parent c44ae06d54
commit bdf12bca0f
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);