Update base.

This commit is contained in:
XMRig 2021-09-02 20:02:42 +07:00
parent dbc53c5d46
commit 28312236fd
No known key found for this signature in database
GPG key ID: 446A53638BE94409
9 changed files with 18 additions and 19 deletions

View file

@ -26,12 +26,12 @@ int main(int argc, char **argv)
using namespace xmrig;
Process process(argc, argv);
const Entry::Id entry = Entry::get(process);
const auto entry = Entry::get();
if (entry) {
return Entry::exec(process, entry);
return Entry::exec(entry);
}
App app(&process);
App app;
return app.exec();
}