Make Process::location static.
This commit is contained in:
parent
c44ae06d54
commit
bdf12bca0f
4 changed files with 13 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue