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

@ -127,7 +127,7 @@ private:
return config.release();
}
chain.addFile(process->location(Process::ExeLocation, "config.json"));
chain.addFile(Process::location(Process::ExeLocation, "config.json"));
if (read(chain, config)) {
return config.release();