Update base.
This commit is contained in:
parent
dbc53c5d46
commit
28312236fd
9 changed files with 18 additions and 19 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue